repo_id stringclasses 208 values | file_path stringlengths 31 190 | content stringlengths 1 2.65M | __index_level_0__ int64 0 0 |
|---|---|---|---|
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/test_accessibility.py | """
This is a test file to run accessibility test on
1. Newsletter login page
2. Newsletter add article page
3. Newsletter manage article page
4. Newsletter edit article page
5. Newsletter create newsletter page
"""
import os
import sys
import json
import re
import pytest
from page_objects.PageFactory import PageFactory
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
@pytest.mark.ACCESSIBILITY
def test_accessibility(test_obj):
"Inject Axe and create snapshot for every page"
try:
#Initalize flags for tests summary
expected_pass = 0
actual_pass = -1
#Get all pages
page_names = PageFactory.get_all_page_names()
for page in page_names:
test_obj = PageFactory.get_page_object(page,base_url=test_obj.base_url)
#Inject Axe in every page
test_obj.accessibility_inject_axe()
#Check if Axe is run in every page excluding the table
run_result = test_obj.accessibility_run_axe({
'exclude': ['table']
})
#Serialize dict to JSON-formatted string
result_str = json.dumps(run_result, ensure_ascii=False, separators=(',', ':'))
#Formatting result by removing \n,\\,timestamp
#Every test run have a different timestamp.
cleaned_result = re.sub(r'\\|\n|\r|"timestamp":\s*"[^"]*"', '', result_str)
if page == 'add articles page':
#removing csrf_token from add article page
cleaned_result = re.sub(r'name\s*=\s*"csrf_token"\s*value\s*=\s*"[^"]*"', '', cleaned_result)
if page == "manage articles page":
url_pattern = r'https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+'
#masking table data
cleaned_result = re.sub(r'<a[^>]*>.*?</a>|<td[^>]*>.*?</td>|(\b\d+px\b)|(\\|\n|\r|"timestamp":\s*"[^"]*"|\b\d+\b|%s)' % url_pattern, lambda m: '' if m.group(0).isdigit() else '', result_str)
cleaned_result = re.sub(r'{"html":"","target":.*', '{"html":"","target":', cleaned_result)
if page == "edit articles page":
url_pattern = r'https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+'
#masking table data
cleaned_result = re.sub(r'<a[^>]*>.*?</a>|<td[^>]*>.*?</td>|(\b\d+px\b)|(\\|\n|\r|"timestamp":\s*"[^"]*"|\b\d+\b|%s)' % url_pattern, lambda m: '' if m.group(0).isdigit() else '', result_str)
cleaned_result = re.sub(r'{"html":"","target":.*', '{"html":"","target":', cleaned_result)
if page == "create newsletter page":
cleaned_result = re.sub(r'("bgColor":"#[\da-fA-F]{6}"|"contrastRatio":\d+(\.\d+)?|"expectedContrastRatio":"[\d\.]+:1"|"message":"Element has sufficient color contrast of [\d.]*")', '', cleaned_result)
#removing csrf_token from create newsletter page
cleaned_result = re.sub(r'name\s*=\s*"csrf_token"(?:\s*type\s*=\s*"hidden")?\s*value\s*=\s*"[^"]*"', '', cleaned_result)
#Compare Snapshot for each page
snapshot_result = test_obj.snapshot_assert_match(f"{cleaned_result}",
f'snapshot_output_{page.replace(" ", "_").lower()}.txt')
test_obj.log_result(snapshot_result,
positive=f'Accessibility checks for {page} passed',
negative=f'Accessibility checks for {page} failed')
#Print out the result
test_obj.write_test_summary()
expected_pass = test_obj.result_counter
actual_pass = test_obj.pass_counter
except Exception as e:
print("Exception when trying to run test: %s"%__file__)
print("Python says:%s"%str(e))
assert expected_pass == actual_pass, "Test failed: %s"%__file__
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/headless-chrome/snapshot_output_create_newsletter_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[],"passes":[{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[{"all":[],"any":[],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":[".select2-selection"]},{"all":[],"any":[],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#select2-url-container"]},{"all":[],"any":[],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":[".select2-selection__arrow"]},{"all":[],"any":[],"html":"<b role="presentation"></b>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#add_more"]},{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#cancel"]},{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#preview_newsletter"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":null,"nodes":[{"all":[],"any":[{"data":{,,,"fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<legend>Add articles to the newsletter</legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="category_id">Category</label>","impact":null,"none":[],"target":["label[for="category_id"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[],"target":["#category_id"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="url">url</label>","impact":null,"none":[],"target":["label[for="url"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="title">Title</label>","impact":null,"none":[],"target":["label[for="title"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#title"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="description">Description</label>","impact":null,"none":[],"target":["label[for="description"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[],"target":["#description"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="reading_time">Reading Time</label>","impact":null,"none":[],"target":["label[for="reading_time"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#reading_time"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","impact":null,"none":[],"target":["#add_more"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="subject">Subject</label>","impact":null,"none":[],"target":["label[for="subject"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#subject"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="opener">Opener</label>","impact":null,"none":[],"target":["label[for="opener"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[],"target":["#opener"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="preview_text">Preview Text</label>","impact":null,"none":[],"target":["label[for="preview_text"]"]},{"all":[],"any":[{"data":{,,,"fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[],"target":["#preview_text"]},{"all":[],"any":[{"data":{,,,"fgColor":"#ffffff","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","impact":null,"none":[],"target":["#cancel"]},{"all":[],"any":[{"data":{,,,"fgColor":"#ffffff","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","impact":null,"none":[],"target":["#preview_newsletter"]},{"all":[],"any":[{"data":{,,,"fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious",,"relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","impact":null,"none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"add_more","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","impact":null,"none":[],"target":["#add_more"]},{"all":[],"any":[{"data":"cancel","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","impact":null,"none":[],"target":["#cancel"]},{"all":[],"any":[{"data":"preview_newsletter","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","impact":null,"none":[],"target":["#preview_newsletter"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[{"all":[],"any":[{"data":"category_id","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[],"target":["#category_id"]},{"all":[],"any":[{"data":"url","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<select id="url" name="url" style="width:50%" data-select2-id="select2-data-url" tabindex="-1" class="select2-hidden-accessible" aria-hidden="true"></select>","impact":null,"none":[],"target":["#url"]},{"all":[],"any":[{"data":"select2-url-container","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":"title","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#title"]},{"all":[],"any":[{"data":"description","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[],"target":["#description"]},{"all":[],"any":[{"data":"reading_time","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#reading_time"]},{"all":[],"any":[{"data":"subject","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#subject"]},{"all":[],"any":[{"data":"opener","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[],"target":["#opener"]},{"all":[],"any":[{"data":"preview_text","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[],"target":["#preview_text"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[{"all":[],"any":[{"data":"csrf_token","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<input id="csrf_token" >","impact":null,"none":[],"target":["#csrf_token"]},{"all":[],"any":[{"data":"remainingC","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<span id="remainingC"></span>","impact":null,"none":[],"target":["#remainingC"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-2.top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#category_id"]},{"all":[],"any":[],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#title"]},{"all":[],"any":[],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#description"]},{"all":[],"any":[],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#reading_time"]},{"all":[],"any":[],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#subject"]},{"all":[],"any":[],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#opener"]},{"all":[],"any":[],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#preview_text"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="category_id">Category</label>","target":["label[for="category_id"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#category_id"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="title">Title</label>","target":["label[for="title"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#title"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="description">Description</label>","target":["label[for="description"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#description"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="reading_time">Reading Time</label>","target":["label[for="reading_time"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#reading_time"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="subject">Subject</label>","target":["label[for="subject"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#subject"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="opener">Opener</label>","target":["label[for="opener"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#opener"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="preview_text">Preview Text</label>","target":["label[for="preview_text"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#preview_text"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".col-md-2.top-space-5 > a[href="/"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]}],"tags":["cat.keyboard","best-practice"]}],,"url":"http://localhost:5000/create-newsletter","violations":[{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Add articles to the newsletter</legend>","target":["legend"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="category_id">Category</label>","target":["label[for="category_id"]"]},{"html":"<select id="category_id" name="category_id" style="width:50%">","target":["#category_id"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="url">url</label>","target":["label[for="url"]"]},{"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","target":["#select2-url-container"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="title">Title</label>","target":["label[for="title"]"]},{"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","target":["#title"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="description">Description</label>","target":["label[for="description"]"]},{"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","target":["#description"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="reading_time">Reading Time</label>","target":["label[for="reading_time"]"]},{"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","target":["#reading_time"]},{"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","target":["#add_more"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="subject">Subject</label>","target":["label[for="subject"]"]},{"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","target":["#subject"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="opener">Opener</label>","target":["label[for="opener"]"]},{"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","target":["#opener"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="preview_text">Preview Text</label>","target":["label[for="preview_text"]"]},{"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","target":["#preview_text"]},{"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","target":["#cancel"]},{"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","target":["#preview_newsletter"]},{"html":"<th>ID</th>","target":["th:nth-child(1)"]},{"html":"<th>Title</th>","target":["th:nth-child(2)"]},{"html":"<th>URL</th>","target":["th:nth-child(3)"]},{"html":"<th>Description</th>","target":["th:nth-child(4)"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","target":["p"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/headless-chrome/snapshot_output_edit_articles_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"/rules/axe/./accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures ","target":[".current"]}]}],"html":"","impact":"serious","none":[],"target":[".current"]}],"tags":["cat.color","wcag2aa","wcag143"]}],"passes":[{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"/rules/axe/./aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"/rules/axe/./aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="//svg" viewBox=" " data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"/rules/axe/./aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"/rules/axe/./aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"/rules/axe/./aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"/rules/axe/./aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"/rules/axe/./aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[{"all":[],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"/rules/axe/./aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":[".current"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"/rules/axe/./aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"/rules/axe/./button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":"Delete selected","id":"button-has-visible-text","impact":"critical","message":"Element has inner text that is visible to screen readers","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#MultiDelete"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508..a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"/rules/axe/./bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508..o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"/rules/axe/./color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":.,"expectedContrastRatio":":","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":":","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<legend>Manage Articles </legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label>","impact":null,"none":[],"target":["#articlesTable_length > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of ","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","impact":null,"none":[],"target":["#articlesTable_filter > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of ","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]},{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services -n <script>document.write(new Date().getFullYear())</script>n </p>","impact":null,"none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"/rules/axe/./document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"/rules/axe/./duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"MultiDelete","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":"articlesTable_first","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":"articlesTable_previous","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":"articlesTable_next","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":"articlesTable_last","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"/rules/axe/./duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable_info","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"/rules/axe/./duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable_wrapper","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_wrapper" class="dataTables_wrapper no-footer">","impact":null,"none":[],"target":["#articlesTable_wrapper"]},{"all":[],"any":[{"data":"articlesTable_length","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_length" id="articlesTable_length"><label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label></div>","impact":null,"none":[],"target":["#articlesTable_length"]},{"all":[],"any":[{"data":"articlesTable_filter","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_filter" class="dataTables_filter"><label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label></div>","impact":null,"none":[],"target":["#articlesTable_filter"]},{"all":[],"any":[{"data":"articlesTable_paginate","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_paginate paging_full_numbers" id="articlesTable_paginate">","impact":null,"none":[],"target":["#articlesTable_paginate"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"/rules/axe/./empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"/rules/axe/./heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"/rules/axe/./html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"/rules/axe/./html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"/rules/axe/./image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508..a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"/rules/axe/./image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space- > a[href="/"]"]},{"all":[],"any":[],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["#MultiDelete"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services -n <script>document.write(new Date().getFullYear())</script>n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"/rules/axe/./label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["input"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"/rules/axe/./label?application=axeAPI","id":"label","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label>","target":["#articlesTable_length > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["input"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508..n"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"/rules/axe/./landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"/rules/axe/./landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"/rules/axe/./link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space- > a[href="/"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508..a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"/rules/axe/./page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than ","help":"Elements should not have tabindex greater than zero","helpUrl":"/rules/axe/./tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.keyboard","best-practice"]}],,"url":":/manage-articles","violations":[{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"/rules/axe/./landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"/rules/axe/./region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Manage Articles </legend>","target":["legend"]},{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label>","target":["#articlesTable_length > label"]},{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="Title: activate to sort column ascending" style="width: ;">Title</th>","target":[".col-md-.sorting"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="URL: activate to sort column ascending" style="width: ;">URL</th>","target":[".col-md-.sorting:nth-child()"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="Description: activate to sort column ascending" style="width: ;">Description</th>","target":[".col-md-.sorting:nth-child()"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="Article Editor: activate to sort column ascending" style="width: ;">Article Editor</th>","target":[".col-md-.sorting"]},{"html":"<th class="col-md- sorting_disabled" rowspan="" colspan="" aria-label="n n Category (all)n Comic ()n Past week ()n Current week ()n Automation corner ()n Uncategorized ()nn n " style="width: ;">","target":[".sorting_disabled.col-md-:nth-child()"]},{"html":"<th class="col-md- sorting_disabled" rowspan="" colspan="" aria-label="Action" style="width: ;">Action</th>","target":["th[aria-label="Action"]"]},{"html":"","target": | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/headless-chrome/snapshot_output_login.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":null,"nodes":[],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[],"passes":[{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":null,"nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"21.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h3>Hello there!</h3>","impact":null,"none":[],"target":["h3"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>Welcome to Qxf2's newsletter generator. We developed this application to achieve two goals:</p>","impact":null,"none":[],"target":[".row:nth-child(1) > p:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":7.85,"expectedContrastRatio":"4.5:1","fgColor":"#475268","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 7.85","relatedNodes":[]}],"html":"<li>1. Make newsletter generation quicker</li>","impact":null,"none":[],"target":["li:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":7.85,"expectedContrastRatio":"4.5:1","fgColor":"#475268","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 7.85","relatedNodes":[]}],"html":"<li>2. Improve employee reading habits</li>","impact":null,"none":[],"target":["li:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>","impact":null,"none":[],"target":["p:nth-child(4)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://qxf2.com/blog/the-informed-testers-newsletter/">here</a>","impact":null,"none":[],"target":["p:nth-child(4) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h4>Article editors</h4>","impact":null,"none":[],"target":[".row:nth-child(2) > h4"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>","impact":null,"none":[],"target":[".row:nth-child(2) > p"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<b>Delete</b>","impact":null,"none":[],"target":["b"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://sites.google.com/qxf2.com/wiki/home/r-d/article-editor">on our wiki</a>","impact":null,"none":[],"target":[".row:nth-child(2) > p > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h4>How to use the newsletter?</h4>","impact":null,"none":[],"target":[".row:nth-child(3) > h4"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>You are a tester. Explore the product. Figure it out for yourself. Gone are the days of documentation and KT. Modern software is expected to be intuitive. If it is not, then raise UX bugs.</p>","impact":null,"none":[],"target":[".row:nth-child(3) > p"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h4>Known issues</h4>","impact":null,"none":[],"target":[".row:nth-child(4) > h4"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>We have some precarious workflows when previewing a campaign. As of now, if you preview a campaign, your next step has to be to create the campaign. You cannot take any other next step without putting the newsletter generator into a weird state.</p>","impact":null,"none":[],"target":[".row:nth-child(4) > p:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>There are several other niggling issues being tracked in <a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>. Please make sure to go through the tickets on that board before raising a new one.</p>","impact":null,"none":[],"target":["p:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>","impact":null,"none":[],"target":["p:nth-child(3) > a"]},{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":12.7,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 12.7","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","impact":null,"none":[],"target":[".qxf2_copyright"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h3>Hello there!</h3>","impact":null,"none":[],"target":["h3"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h4>Article editors</h4>","impact":null,"none":[],"target":[".row:nth-child(2) > h4"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h4>How to use the newsletter?</h4>","impact":null,"none":[],"target":[".row:nth-child(3) > h4"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h4>Known issues</h4>","impact":null,"none":[],"target":[".row:nth-child(4) > h4"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":"moderate","nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":4,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h4>Article editors</h4>","impact":null,"none":[],"target":[".row:nth-child(2) > h4"]},{"all":[],"any":[{"data":4,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h4>How to use the newsletter?</h4>","impact":null,"none":[],"target":[".row:nth-child(3) > h4"]},{"all":[],"any":[{"data":4,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h4>Known issues</h4>","impact":null,"none":[],"target":[".row:nth-child(4) > h4"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<p>Welcome to Qxf2's newsletter generator. We developed this application to achieve two goals:</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(1) > p:nth-child(2)"]},{"all":[],"any":[],"html":"<li>1. Make newsletter generation quicker</li>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["li:nth-child(1)"]},{"all":[],"any":[],"html":"<li>2. Improve employee reading habits</li>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["li:nth-child(2)"]},{"all":[],"any":[],"html":"<p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(4)"]},{"all":[],"any":[],"html":"<a href="https://qxf2.com/blog/the-informed-testers-newsletter/">here</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(4) > a"]},{"all":[],"any":[],"html":"<p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(2) > p"]},{"all":[],"any":[],"html":"<a href="https://sites.google.com/qxf2.com/wiki/home/r-d/article-editor">on our wiki</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(2) > p > a"]},{"all":[],"any":[],"html":"<p>You are a tester. Explore the product. Figure it out for yourself. Gone are the days of documentation and KT. Modern software is expected to be intuitive. If it is not, then raise UX bugs.</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(3) > p"]},{"all":[],"any":[],"html":"<p>We have some precarious workflows when previewing a campaign. As of now, if you preview a campaign, your next step has to be to create the campaign. You cannot take any other next step without putting the newsletter generator into a weird state.</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(4) > p:nth-child(2)"]},{"all":[],"any":[],"html":"<p>There are several other niggling issues being tracked in <a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>. Please make sure to go through the tickets on that board before raising a new one.</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(3)"]},{"all":[],"any":[],"html":"<a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(3) > a"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".qxf2_copyright"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://qxf2.com/blog/the-informed-testers-newsletter/">here</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["p:nth-child(4) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://sites.google.com/qxf2.com/wiki/home/r-d/article-editor">on our wiki</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".row:nth-child(2) > p > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["p:nth-child(3) > a"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[{"all":[],"any":[],"html":"<ol>n <li>1. Make newsletter generation quicker</li>n <li>2. Improve employee reading habits</li>n </ol>","impact":null,"none":[{"data":null,"id":"only-listitems","impact":"serious","message":"List element only has direct children that are allowed inside <li> elements","relatedNodes":[]}],"target":["ol"]}],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"listitem","impact":"serious","message":"List item has a <ul>, <ol> or role="list" parent element","relatedNodes":[]}],"html":"<li>1. Make newsletter generation quicker</li>","impact":null,"none":[],"target":["li:nth-child(1)"]},{"all":[],"any":[{"data":null,"id":"listitem","impact":"serious","message":"List item has a <ul>, <ol> or role="list" parent element","relatedNodes":[]}],"html":"<li>2. Improve employee reading habits</li>","impact":null,"none":[],"target":["li:nth-child(2)"]}],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]}],,"url":"http://localhost:5000/","violations":[{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":"moderate","nodes":[{"all":[],"any":[{"data":3,"id":"heading-order","impact":"moderate","message":"Heading order invalid","relatedNodes":[]}],"failureSummary":"Fix any of the following:n Heading order invalid","html":"<h3>Hello there!</h3>","impact":"moderate","none":[],"target":["h3"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<h3>Hello there!</h3>","target":["h3"]},{"html":"<p>Welcome to Qxf2's newsletter generator. We developed this application to achieve two goals:</p>","target":[".row:nth-child(1) > p:nth-child(2)"]},{"html":"<li>1. Make newsletter generation quicker</li>","target":["li:nth-child(1)"]},{"html":"<li>2. Improve employee reading habits</li>","target":["li:nth-child(2)"]},{"html":"<p>","target":["p:nth-child(4)"]},{"html":"<h4>Article editors</h4>","target":[".row:nth-child(2) > h4"]},{"html":"<p>","target":[".row:nth-child(2) > p"]},{"html":"<h4>How to use the newsletter?</h4>","target":[".row:nth-child(3) > h4"]},{"html":"<p>You are a tester. Explore the product. Figure it out for yourself. Gone are the days of documentation and KT. Modern software is expected to be intuitive. If it is not, then raise UX bugs.</p>","target":[".row:nth-child(3) > p"]},{"html":"<h4>Known issues</h4>","target":[".row:nth-child(4) > h4"]},{"html":"<p>We have some precarious workflows when previewing a campaign. As of now, if you preview a campaign, your next step has to be to create the campaign. You cannot take any other next step without putting the newsletter generator into a weird state.</p>","target":[".row:nth-child(4) > p:nth-child(2)"]},{"html":"<p>There are several other niggling issues being tracked in <a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>. Please make sure to go through the tickets on that board before raising a new one.</p>","target":["p:nth-child(3)"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","target":[".qxf2_copyright"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/headless-chrome/snapshot_output_add_articles_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":null,"nodes":[],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[],"passes":[{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":null,"nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<legend>Add Article</legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":12.7,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 12.7","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","impact":null,"none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]}],,"url":"http://localhost:5000/articles","violations":[{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Add Article</legend>","target":["legend"]},{"html":"<td> URL:<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value=""></td>","target":["tr:nth-child(1) > td"]},{"html":"<td> Title:<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value=""></td>","target":["tr:nth-child(2) > td"]},{"html":"<td> Description:<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea></td>","target":["tr:nth-child(3) > td"]},{"html":"<td> Time:<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value=""></td>","target":["tr:nth-child(4) > td"]},{"html":"<td>","target":["tr:nth-child(5) > td"]},{"html":"<input class="btn btn-lg btn-primary" id="submit" name="submit" type="submit" value="Add Article">","target":["#submit"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2024n </p>","target":["p"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/headless-chrome/snapshot_output_manage_articles_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"/rules/axe/./accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures ","target":[".current"]}]}],"html":"","impact":"serious","none":[],"target":[".current"]}],"tags":["cat.color","wcag2aa","wcag143"]}],"passes":[{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"/rules/axe/./aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"/rules/axe/./aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="//svg" viewBox=" " data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"/rules/axe/./aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"/rules/axe/./aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"/rules/axe/./aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"/rules/axe/./aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"/rules/axe/./aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[{"all":[],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"/rules/axe/./aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":[".current"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"/rules/axe/./aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"/rules/axe/./button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":"Delete selected","id":"button-has-visible-text","impact":"critical","message":"Element has inner text that is visible to screen readers","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#MultiDelete"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508..a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"/rules/axe/./bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508..o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"/rules/axe/./color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":.,"expectedContrastRatio":":","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":":","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<legend>Manage Articles </legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label>","impact":null,"none":[],"target":["#articlesTable_length > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of ","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","impact":null,"none":[],"target":["#articlesTable_filter > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of ","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]},{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":.,"expectedContrastRatio":".:","fgColor":"#","fontSize":".0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of .","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services -n <script>document.write(new Date().getFullYear())</script>n </p>","impact":null,"none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"/rules/axe/./document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"/rules/axe/./duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"MultiDelete","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":"articlesTable_first","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":"articlesTable_previous","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":"articlesTable_next","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":"articlesTable_last","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"/rules/axe/./duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable_info","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing to of entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"/rules/axe/./duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable_wrapper","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_wrapper" class="dataTables_wrapper no-footer">","impact":null,"none":[],"target":["#articlesTable_wrapper"]},{"all":[],"any":[{"data":"articlesTable_length","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_length" id="articlesTable_length"><label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label></div>","impact":null,"none":[],"target":["#articlesTable_length"]},{"all":[],"any":[{"data":"articlesTable_filter","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_filter" class="dataTables_filter"><label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label></div>","impact":null,"none":[],"target":["#articlesTable_filter"]},{"all":[],"any":[{"data":"articlesTable_paginate","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_paginate paging_full_numbers" id="articlesTable_paginate">","impact":null,"none":[],"target":["#articlesTable_paginate"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"/rules/axe/./empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"/rules/axe/./heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"/rules/axe/./html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"/rules/axe/./html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"/rules/axe/./image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508..a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"/rules/axe/./image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space- > a[href="/"]"]},{"all":[],"any":[],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["#MultiDelete"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services -n <script>document.write(new Date().getFullYear())</script>n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"/rules/axe/./label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["input"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"/rules/axe/./label?application=axeAPI","id":"label","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label>","target":["#articlesTable_length > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["input"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508..n"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"/rules/axe/./landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"/rules/axe/./landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"/rules/axe/./link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space- > a[href="/"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508..a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"/rules/axe/./page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than ","help":"Elements should not have tabindex greater than zero","helpUrl":"/rules/axe/./tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than ","relatedNodes":[]}],"html":"","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.keyboard","best-practice"]}],,"url":":/manage-articles","violations":[{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"/rules/axe/./landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"/rules/axe/./region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Manage Articles </legend>","target":["legend"]},{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value=""></option><option value=""></option><option value=""></option><option value=""></option></select> entries</label>","target":["#articlesTable_length > label"]},{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="Title: activate to sort column ascending" style="width: ;">Title</th>","target":[".col-md-.sorting"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="URL: activate to sort column ascending" style="width: ;">URL</th>","target":[".col-md-.sorting:nth-child()"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="Description: activate to sort column ascending" style="width: ;">Description</th>","target":[".col-md-.sorting:nth-child()"]},{"html":"<th class="col-md- sorting" tabindex="" aria-controls="articlesTable" rowspan="" colspan="" aria-label="Article Editor: activate to sort column ascending" style="width: ;">Article Editor</th>","target":[".col-md-.sorting"]},{"html":"<th class="col-md- sorting_disabled" rowspan="" colspan="" aria-label="n n Category (all)n Comic ()n Past week ()n Current week ()n Automation corner ()n Uncategorized ()nn n " style="width: ;">","target":[".sorting_disabled.col-md-:nth-child()"]},{"html":"<th class="col-md- sorting_disabled" rowspan="" colspan="" aria-label="Action" style="width: ;">Action</th>","target":["th[aria-label="Action"]"]},{"html":"","target": | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/chrome/snapshot_output_create_newsletter_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="preview_text">Preview Text</label>","impact":"serious","none":[],"target":["label[for="preview_text"]"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":"serious","none":[],"target":["#preview_text"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","impact":"serious","none":[],"target":["#cancel"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","impact":"serious","none":[],"target":["#preview_newsletter"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<th>ID</th>","impact":"serious","none":[],"target":["th:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<th>Title</th>","impact":"serious","none":[],"target":["th:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<th>URL</th>","impact":"serious","none":[],"target":["th:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<th>Description</th>","impact":"serious","none":[],"target":["th:nth-child(4)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":"serious","none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":"serious","nodes":[{"all":[{"data":null,"id":"th-has-data-cells","impact":"serious","message":"Table data cells are missing or empty","relatedNodes":[{"html":"<th>Description</th>","target":["th:nth-child(4)"]}]}],"any":[],"html":"<table id="tableId" class="table table-hover table">n <tbody><tr>n <th>ID</th>n <th>Title</th>n <th>URL</th>n <th>Description</th>n </tr>n n </tbody></table>","impact":"serious","none":[],"target":["#tableId"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],"passes":[{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[],"target":[".select2-selection__arrow"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<b role="presentation"></b>","impact":null,"none":[],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[{"all":[],"any":[],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":[".select2-selection"]},{"all":[],"any":[],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#select2-url-container"]},{"all":[],"any":[],"html":"<span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":[".select2-selection__arrow"]},{"all":[],"any":[],"html":"<b role="presentation"></b>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["b"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#add_more"]},{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#cancel"]},{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#preview_newsletter"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<legend>Add articles to the newsletter</legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="category_id">Category</label>","impact":null,"none":[],"target":["label[for="category_id"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[],"target":["#category_id"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="url">url</label>","impact":null,"none":[],"target":["label[for="url"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="title">Title</label>","impact":null,"none":[],"target":["label[for="title"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#title"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="description">Description</label>","impact":null,"none":[],"target":["label[for="description"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[],"target":["#description"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="reading_time">Reading Time</label>","impact":null,"none":[],"target":["label[for="reading_time"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#reading_time"]},{"all":[],"any":[{"data":{"bgColor":"#f0f0f0","contrastRatio":18.42,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 18.42","relatedNodes":[]}],"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","impact":null,"none":[],"target":["#add_more"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="subject">Subject</label>","impact":null,"none":[],"target":["label[for="subject"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#subject"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.8pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<label class="col-sm-1 create-newsletter-label" for="opener">Opener</label>","impact":null,"none":[],"target":["label[for="opener"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[],"target":["#opener"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"add_more","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","impact":null,"none":[],"target":["#add_more"]},{"all":[],"any":[{"data":"cancel","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","impact":null,"none":[],"target":["#cancel"]},{"all":[],"any":[{"data":"preview_newsletter","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","impact":null,"none":[],"target":["#preview_newsletter"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[{"all":[],"any":[{"data":"category_id","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[],"target":["#category_id"]},{"all":[],"any":[{"data":"url","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<select id="url" name="url" style="width:50%" data-select2-id="select2-data-url" tabindex="-1" class="select2-hidden-accessible" aria-hidden="true"></select>","impact":null,"none":[],"target":["#url"]},{"all":[],"any":[{"data":"select2-url-container","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","impact":null,"none":[],"target":["#select2-url-container"]},{"all":[],"any":[{"data":"title","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#title"]},{"all":[],"any":[{"data":"description","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[],"target":["#description"]},{"all":[],"any":[{"data":"reading_time","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#reading_time"]},{"all":[],"any":[{"data":"subject","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[],"target":["#subject"]},{"all":[],"any":[{"data":"opener","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[],"target":["#opener"]},{"all":[],"any":[{"data":"preview_text","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[],"target":["#preview_text"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[{"all":[],"any":[{"data":"csrf_token","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<input id="csrf_token" >","impact":null,"none":[],"target":["#csrf_token"]},{"all":[],"any":[{"data":"remainingC","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<span id="remainingC"></span>","impact":null,"none":[],"target":["#remainingC"]},{"all":[],"any":[{"data":"tableId","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<table id="tableId" class="table table-hover table">n <tbody><tr>n <th>ID</th>n <th>Title</th>n <th>URL</th>n <th>Description</th>n </tr>n n </tbody></table>","impact":null,"none":[],"target":["#tableId"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-2.top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<th>ID</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["th:nth-child(1)"]},{"all":[],"any":[],"html":"<th>Title</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["th:nth-child(2)"]},{"all":[],"any":[],"html":"<th>URL</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["th:nth-child(3)"]},{"all":[],"any":[],"html":"<th>Description</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["th:nth-child(4)"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#category_id"]},{"all":[],"any":[],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#title"]},{"all":[],"any":[],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#description"]},{"all":[],"any":[],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#reading_time"]},{"all":[],"any":[],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#subject"]},{"all":[],"any":[],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#opener"]},{"all":[],"any":[],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#preview_text"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<select id="category_id" name="category_id" style="width:50%">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="category_id">Category</label>","target":["label[for="category_id"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#category_id"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="title">Title</label>","target":["label[for="title"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#title"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="description">Description</label>","target":["label[for="description"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#description"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="reading_time">Reading Time</label>","target":["label[for="reading_time"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#reading_time"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="subject">Subject</label>","target":["label[for="subject"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#subject"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="opener">Opener</label>","target":["label[for="opener"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#opener"]},{"all":[],"any":[{"data":null,"id":"explicit-label","impact":"critical","message":"Form element has an explicit <label>","relatedNodes":[]}],"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label class="col-sm-1 create-newsletter-label" for="preview_text">Preview Text</label>","target":["label[for="preview_text"]"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["#preview_text"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".col-md-2.top-space-5 > a[href="/"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" aria-labelledby="select2-url-container">","impact":null,"none":[],"target":[".select2-selection"]}],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[{"all":[],"any":[],"html":"<table id="tableId" class="table table-hover table">n <tbody><tr>n <th>ID</th>n <th>Title</th>n <th>URL</th>n <th>Description</th>n </tr>n n </tbody></table>","impact":null,"none":[{"data":null,"id":"same-caption-summary","impact":"minor","message":"Content of summary attribute and <caption> are not duplicated","relatedNodes":[]}],"target":["#tableId"]}],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[{"all":[{"data":null,"id":"td-headers-attr","impact":"serious","message":"The headers attribute is exclusively used to refer to other cells in the table","relatedNodes":[]}],"any":[],"html":"<table id="tableId" class="table table-hover table">n <tbody><tr>n <th>ID</th>n <th>Title</th>n <th>URL</th>n <th>Description</th>n </tr>n n </tbody></table>","impact":null,"none":[],"target":["#tableId"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],,"url":"http://127.0.0.1:5000/create-newsletter","violations":[{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Add articles to the newsletter</legend>","target":["legend"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="category_id">Category</label>","target":["label[for="category_id"]"]},{"html":"<select id="category_id" name="category_id" style="width:50%">","target":["#category_id"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="url">url</label>","target":["label[for="url"]"]},{"html":"<span class="select2-selection__rendered" id="select2-url-container" role="textbox" aria-readonly="true"></span>","target":["#select2-url-container"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="title">Title</label>","target":["label[for="title"]"]},{"html":"<input id="title" name="title" readonly="" style="width:50%" type="text" value="">","target":["#title"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="description">Description</label>","target":["label[for="description"]"]},{"html":"<textarea id="description" name="description" readonly="" style="width:50%"></textarea>","target":["#description"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="reading_time">Reading Time</label>","target":["label[for="reading_time"]"]},{"html":"<input id="reading_time" name="reading_time" readonly="" style="width:50%" type="text" value="">","target":["#reading_time"]},{"html":"<input id="add_more" name="add_more" type="submit" value="Add More Articles">","target":["#add_more"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="subject">Subject</label>","target":["label[for="subject"]"]},{"html":"<input id="subject" name="subject" placeholder="Just the date in dd-mmm-yyyy" style="width:50%" type="text" value="">","target":["#subject"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="opener">Opener</label>","target":["label[for="opener"]"]},{"html":"<textarea id="opener" name="opener" placeholder="Do NOT include the string "In this issue: "" style="width:50%"></textarea>","target":["#opener"]},{"html":"<label class="col-sm-1 create-newsletter-label" for="preview_text">Preview Text</label>","target":["label[for="preview_text"]"]},{"html":"<textarea id="preview_text" maxlength="150" name="preview_text" style="width:50%"></textarea>","target":["#preview_text"]},{"html":"<input class="btn btn-secondary" id="cancel" name="cancel" type="submit" value="Clear Fields">","target":["#cancel"]},{"html":"<input class="btn btn-primary" id="preview_newsletter" name="preview_newsletter" type="submit" value="Preview Newsletter">","target":["#preview_newsletter"]},{"html":"<th>ID</th>","target":["th:nth-child(1)"]},{"html":"<th>Title</th>","target":["th:nth-child(2)"]},{"html":"<th>URL</th>","target":["th:nth-child(3)"]},{"html":"<th>Description</th>","target":["th:nth-child(4)"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","target":["p"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/chrome/snapshot_output_edit_articles_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","target":[".col-md-2.sorting"]}]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":"serious","none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","target":[".col-md-3.sorting:nth-child(2)"]}]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":"serious","none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","target":[".col-md-3.sorting:nth-child(3)"]}]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":"serious","none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","target":[".col-md-1.sorting"]}]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":"serious","none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"10.6pt","fontWeight":"normal","missingData":"bgGradient"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background gradient","relatedNodes":[{"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","target":["#MultiDelete"]}]}],"html":"<span>Delete selected</span>","impact":"serious","none":[],"target":["#MultiDelete > span"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":"serious","none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":"serious","none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":"serious","none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element content is too short to determine if it is actual text content","relatedNodes":[]}],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":"serious","none":[],"target":[".current"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":"serious","none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":"serious","none":[],"target":["#articlesTable_last"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":"serious","none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":"serious","nodes":[{"all":[{"data":null,"id":"th-has-data-cells","impact":"serious","message":"Table data cells are missing or empty","relatedNodes":[{"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","target":[".col-md-1.sorting"]}]}],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":"serious","none":[],"target":["#articlesTable"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],"passes":[{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[{"all":[],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#articlesTable"]},{"all":[],"any":[],"html":"<tr role="row">","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["tr[role="row"]"]},{"all":[],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":null,"none":[],"target":[".current"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":"Delete selected","id":"button-has-visible-text","impact":"critical","message":"Element has inner text that is visible to screen readers","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#MultiDelete"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<legend>Manage Articles </legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":12.63,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 12.63","relatedNodes":[]}],"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label>","impact":null,"none":[],"target":["#articlesTable_length > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":12.63,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 12.63","relatedNodes":[]}],"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","impact":null,"none":[],"target":["#articlesTable_filter > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<select id="categoryFilter" size="1">","impact":null,"none":[],"target":["#categoryFilter"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> python selenium selenium</td>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> python-selenium-change-url</td>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(5)"]},{"all":[],"any":[{"data":{"bgColor":"#0d6efd","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[],"target":["a[href$="edit/3"]"]},{"all":[],"any":[{"data":{"bgColor":"#dc3545","contrastRatio":4.52,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.52","relatedNodes":[]}],"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[],"target":["a[href$="delete/3"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> A currentweek:552902</td>","impact":null,"none":[],"target":[".even > td:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","impact":null,"none":[],"target":[".even > td:nth-child(2) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> currentweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[],"target":[".even > td:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[],"target":[".even > td:nth-child(5)"]},{"all":[],"any":[{"data":{"bgColor":"#0d6efd","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[],"target":["a[href$="edit/2"]"]},{"all":[],"any":[{"data":{"bgColor":"#dc3545","contrastRatio":4.52,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.52","relatedNodes":[]}],"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[],"target":["a[href$="delete/2"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> A pastweek:469717</td>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> pastweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all; text-align: center;"> 2</td>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(5)"]},{"all":[],"any":[{"data":{"bgColor":"#0d6efd","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[],"target":["a[href$="edit/1"]"]},{"all":[],"any":[{"data":{"bgColor":"#dc3545","contrastRatio":4.52,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.52","relatedNodes":[]}],"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[],"target":["a[href$="delete/1"]"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"categoryFilter","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<select id="categoryFilter" size="1">","impact":null,"none":[],"target":["#categoryFilter"]},{"all":[],"any":[{"data":"MultiDelete","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":"articlesTable_first","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":"articlesTable_previous","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":"articlesTable_next","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":"articlesTable_last","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":"articlesTable_info","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable_wrapper","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_wrapper" class="dataTables_wrapper no-footer">","impact":null,"none":[],"target":["#articlesTable_wrapper"]},{"all":[],"any":[{"data":"articlesTable_length","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_length" id="articlesTable_length"><label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label></div>","impact":null,"none":[],"target":["#articlesTable_length"]},{"all":[],"any":[{"data":"articlesTable_filter","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_filter" class="dataTables_filter"><label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label></div>","impact":null,"none":[],"target":["#articlesTable_filter"]},{"all":[],"any":[{"data":"articlesTable_paginate","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_paginate paging_full_numbers" id="articlesTable_paginate">","impact":null,"none":[],"target":["#articlesTable_paginate"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-2.sorting"]},{"all":[],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-1.sorting"]},{"all":[],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["th[aria-label="Action"]"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> python selenium selenium</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(1)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> <a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(2)"]},{"all":[],"any":[],"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> python-selenium-change-url</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(3)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(4)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(5)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(6)"]},{"all":[],"any":[],"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="edit/3"]"]},{"all":[],"any":[],"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="delete/3"]"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> A currentweek:552902</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(1)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> <a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(2)"]},{"all":[],"any":[],"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(2) > a"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> currentweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(3)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(4)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(5)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(6)"]},{"all":[],"any":[],"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="edit/2"]"]},{"all":[],"any":[],"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="delete/2"]"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> A pastweek:469717</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(1)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> <a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(2)"]},{"all":[],"any":[],"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> pastweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(3)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(4)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all; text-align: center;"> 2</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(5)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(6)"]},{"all":[],"any":[],"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="edit/1"]"]},{"all":[],"any":[],"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="delete/1"]"]},{"all":[],"any":[],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["#MultiDelete"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["input"]},{"all":[],"any":[],"html":"<select id="categoryFilter" size="1">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#categoryFilter"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":"critical","nodes":[{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label>","target":["#articlesTable_length > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["input"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="edit/3"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="delete/3"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".even > td:nth-child(2) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="edit/2"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="delete/2"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="edit/1"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="delete/1"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[{"all":[],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[{"data":null,"id":"same-caption-summary","impact":"minor","message":"Content of summary attribute and <caption> are not duplicated","relatedNodes":[]}],"target":["#articlesTable"]}],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[{"all":[{"data":null,"id":"td-headers-attr","impact":"serious","message":"The headers attribute is exclusively used to refer to other cells in the table","relatedNodes":[]}],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],,"url":"http://127.0.0.1:5000/manage-articles","violations":[{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":"critical","nodes":[{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<select id="categoryFilter" size="1">","impact":"critical","none":[],"target":["#categoryFilter"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Manage Articles </legend>","target":["legend"]},{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label>","target":["#articlesTable_length > label"]},{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]},{"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","target":[".col-md-2.sorting"]},{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","target":[".col-md-3.sorting:nth-child(2)"]},{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","target":[".col-md-3.sorting:nth-child(3)"]},{"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","target":[".col-md-1.sorting"]},{"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","target":["th[aria-label="Action"]"]},{"html":"<td style="word-break:break-all;"> python selenium selenium</td>","target":[".odd:nth-child(1) > td:nth-child(1)"]},{"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"html":"<td style="word-break:break-all;"> python-selenium-change-url</td>","target":[".odd:nth-child(1) > td:nth-child(3)"]},{"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","target":[".odd:nth-child(1) > td:nth-child(5)"]},{"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","target":["a[href$="edit/3"]"]},{"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","target":["a[href$="delete/3"]"]},{"html":"<td style="word-break:break-all;"> A currentweek:552902</td>","target":[".even > td:nth-child(1)"]},{"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","target":[".even > td:nth-child(2) > a"]},{"html":"<td style="word-break:break-all;"> currentweek advanced-python/python-mutable-and-immutable</td>","target":[".even > td:nth-child(3)"]},{"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","target":[".even > td:nth-child(5)"]},{"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","target":["a[href$="edit/2"]"]},{"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","target":["a[href$="delete/2"]"]},{"html":"<td style="word-break:break-all;"> A pastweek:469717</td>","target":[".odd:nth-child(3) > td:nth-child(1)"]},{"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"html":"<td style="word-break:break-all;"> pastweek advanced-python/python-mutable-and-immutable</td>","target":[".odd:nth-child(3) > td:nth-child(3)"]},{"html":"<td style="word-break:break-all; text-align: center;"> 2</td>","target":[".odd:nth-child(3) > td:nth-child(5)"]},{"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","target":["a[href$="edit/1"]"]},{"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","target":["a[href$="delete/1"]"]},{"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","target":["#MultiDelete"]},{"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","target":["#articlesTable_info"]},{"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","target":["#articlesTable_first"]},{"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","target":["#articlesTable_previous"]},{"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","target":[".current"]},{"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","target":["#articlesTable_next"]},{"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","target":["#articlesTable_last"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","target":["p"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/chrome/snapshot_output_login.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":null,"nodes":[],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p>You are a tester. Explore the product. Figure it out for yourself. Gone are the days of documentation and KT. Modern software is expected to be intuitive. If it is not, then raise UX bugs.</p>","impact":"serious","none":[],"target":[".row:nth-child(3) > p"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<h4>Known issues</h4>","impact":"serious","none":[],"target":[".row:nth-child(4) > h4"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p>We have some precarious workflows when previewing a campaign. As of now, if you preview a campaign, your next step has to be to create the campaign. You cannot take any other next step without putting the newsletter generator into a weird state.</p>","impact":"serious","none":[],"target":[".row:nth-child(4) > p:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p>There are several other niggling issues being tracked in <a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>. Please make sure to go through the tickets on that board before raising a new one.</p>","impact":"serious","none":[],"target":["p:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>","impact":"serious","none":[],"target":["p:nth-child(3) > a"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":"serious","none":[],"target":[".qxf2_copyright"]}],"tags":["cat.color","wcag2aa","wcag143"]}],"passes":[{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"21.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h3>Hello there!</h3>","impact":null,"none":[],"target":["h3"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>Welcome to Qxf2's newsletter generator. We developed this application to achieve two goals:</p>","impact":null,"none":[],"target":[".row:nth-child(1) > p:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":7.85,"expectedContrastRatio":"4.5:1","fgColor":"#475268","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 7.85","relatedNodes":[]}],"html":"<li>1. Make newsletter generation quicker</li>","impact":null,"none":[],"target":["li:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":7.85,"expectedContrastRatio":"4.5:1","fgColor":"#475268","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 7.85","relatedNodes":[]}],"html":"<li>2. Improve employee reading habits</li>","impact":null,"none":[],"target":["li:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>","impact":null,"none":[],"target":["p:nth-child(4)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://qxf2.com/blog/the-informed-testers-newsletter/">here</a>","impact":null,"none":[],"target":["p:nth-child(4) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h4>Article editors</h4>","impact":null,"none":[],"target":[".row:nth-child(2) > h4"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<p>","impact":null,"none":[],"target":[".row:nth-child(2) > p"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<b>Delete</b>","impact":null,"none":[],"target":["b"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://sites.google.com/qxf2.com/wiki/home/r-d/article-editor">on our wiki</a>","impact":null,"none":[],"target":[".row:nth-child(2) > p > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<h4>How to use the newsletter?</h4>","impact":null,"none":[],"target":[".row:nth-child(3) > h4"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h3>Hello there!</h3>","impact":null,"none":[],"target":["h3"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h4>Article editors</h4>","impact":null,"none":[],"target":[".row:nth-child(2) > h4"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h4>How to use the newsletter?</h4>","impact":null,"none":[],"target":[".row:nth-child(3) > h4"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h4>Known issues</h4>","impact":null,"none":[],"target":[".row:nth-child(4) > h4"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":"moderate","nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":4,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h4>Article editors</h4>","impact":null,"none":[],"target":[".row:nth-child(2) > h4"]},{"all":[],"any":[{"data":4,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h4>How to use the newsletter?</h4>","impact":null,"none":[],"target":[".row:nth-child(3) > h4"]},{"all":[],"any":[{"data":4,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h4>Known issues</h4>","impact":null,"none":[],"target":[".row:nth-child(4) > h4"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<p>Welcome to Qxf2's newsletter generator. We developed this application to achieve two goals:</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(1) > p:nth-child(2)"]},{"all":[],"any":[],"html":"<li>1. Make newsletter generation quicker</li>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["li:nth-child(1)"]},{"all":[],"any":[],"html":"<li>2. Improve employee reading habits</li>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["li:nth-child(2)"]},{"all":[],"any":[],"html":"<p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(4)"]},{"all":[],"any":[],"html":"<a href="https://qxf2.com/blog/the-informed-testers-newsletter/">here</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(4) > a"]},{"all":[],"any":[],"html":"<p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(2) > p"]},{"all":[],"any":[],"html":"<a href="https://sites.google.com/qxf2.com/wiki/home/r-d/article-editor">on our wiki</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(2) > p > a"]},{"all":[],"any":[],"html":"<p>You are a tester. Explore the product. Figure it out for yourself. Gone are the days of documentation and KT. Modern software is expected to be intuitive. If it is not, then raise UX bugs.</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(3) > p"]},{"all":[],"any":[],"html":"<p>We have some precarious workflows when previewing a campaign. As of now, if you preview a campaign, your next step has to be to create the campaign. You cannot take any other next step without putting the newsletter generator into a weird state.</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".row:nth-child(4) > p:nth-child(2)"]},{"all":[],"any":[],"html":"<p>There are several other niggling issues being tracked in <a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>. Please make sure to go through the tickets on that board before raising a new one.</p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(3)"]},{"all":[],"any":[],"html":"<a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p:nth-child(3) > a"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".qxf2_copyright"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://qxf2.com/blog/the-informed-testers-newsletter/">here</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["p:nth-child(4) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://sites.google.com/qxf2.com/wiki/home/r-d/article-editor">on our wiki</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".row:nth-child(2) > p > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["p:nth-child(3) > a"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[{"all":[],"any":[],"html":"<ol>n <li>1. Make newsletter generation quicker</li>n <li>2. Improve employee reading habits</li>n </ol>","impact":null,"none":[{"data":null,"id":"only-listitems","impact":"serious","message":"List element only has direct children that are allowed inside <li> elements","relatedNodes":[]}],"target":["ol"]}],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"listitem","impact":"serious","message":"List item has a <ul>, <ol> or role="list" parent element","relatedNodes":[]}],"html":"<li>1. Make newsletter generation quicker</li>","impact":null,"none":[],"target":["li:nth-child(1)"]},{"all":[],"any":[{"data":null,"id":"listitem","impact":"serious","message":"List item has a <ul>, <ol> or role="list" parent element","relatedNodes":[]}],"html":"<li>2. Improve employee reading habits</li>","impact":null,"none":[],"target":["li:nth-child(2)"]}],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]}],,"url":"http://127.0.0.1:5000/","violations":[{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":"moderate","nodes":[{"all":[],"any":[{"data":3,"id":"heading-order","impact":"moderate","message":"Heading order invalid","relatedNodes":[]}],"failureSummary":"Fix any of the following:n Heading order invalid","html":"<h3>Hello there!</h3>","impact":"moderate","none":[],"target":["h3"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<h3>Hello there!</h3>","target":["h3"]},{"html":"<p>Welcome to Qxf2's newsletter generator. We developed this application to achieve two goals:</p>","target":[".row:nth-child(1) > p:nth-child(2)"]},{"html":"<li>1. Make newsletter generation quicker</li>","target":["li:nth-child(1)"]},{"html":"<li>2. Improve employee reading habits</li>","target":["li:nth-child(2)"]},{"html":"<p>","target":["p:nth-child(4)"]},{"html":"<h4>Article editors</h4>","target":[".row:nth-child(2) > h4"]},{"html":"<p>","target":[".row:nth-child(2) > p"]},{"html":"<h4>How to use the newsletter?</h4>","target":[".row:nth-child(3) > h4"]},{"html":"<p>You are a tester. Explore the product. Figure it out for yourself. Gone are the days of documentation and KT. Modern software is expected to be intuitive. If it is not, then raise UX bugs.</p>","target":[".row:nth-child(3) > p"]},{"html":"<h4>Known issues</h4>","target":[".row:nth-child(4) > h4"]},{"html":"<p>We have some precarious workflows when previewing a campaign. As of now, if you preview a campaign, your next step has to be to create the campaign. You cannot take any other next step without putting the newsletter generator into a weird state.</p>","target":[".row:nth-child(4) > p:nth-child(2)"]},{"html":"<p>There are several other niggling issues being tracked in <a href="https://trello.com/b/ImyHTSgO/newsletter-generator-loose-ends">this Trello board</a>. Please make sure to go through the tickets on that board before raising a new one.</p>","target":["p:nth-child(3)"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","target":[".qxf2_copyright"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/chrome/snapshot_output_add_articles_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":null,"nodes":[],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<select class="form-control" id="category_id" name="category_id" placeholder="category" required="">","impact":"serious","none":[],"target":["#category_id"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"15.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<input class="btn btn-lg btn-primary" id="submit" name="submit" type="submit" value="Add Article">","impact":"serious","none":[],"target":["#submit"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":"serious","none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]}],"passes":[{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"non-empty-value","impact":"critical","message":"Element has a non-empty value attribute","relatedNodes":[]}],"html":"<input class="btn btn-lg btn-primary" id="submit" name="submit" type="submit" value="Add Article">","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#submit"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<legend>Add Article</legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td> URL:<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value=""></td>","impact":null,"none":[],"target":["tr:nth-child(1) > td"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value="">","impact":null,"none":[],"target":["#url"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td> Title:<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value=""></td>","impact":null,"none":[],"target":["tr:nth-child(2) > td"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value="">","impact":null,"none":[],"target":["#title"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td> Description:<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea></td>","impact":null,"none":[],"target":["tr:nth-child(3) > td"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea>","impact":null,"none":[],"target":["#description"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td> Time:<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value=""></td>","impact":null,"none":[],"target":["tr:nth-child(4) > td"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value="">","impact":null,"none":[],"target":["#time"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td>","impact":null,"none":[],"target":["tr:nth-child(5) > td"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"url","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value="">","impact":null,"none":[],"target":["#url"]},{"all":[],"any":[{"data":"title","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value="">","impact":null,"none":[],"target":["#title"]},{"all":[],"any":[{"data":"description","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea>","impact":null,"none":[],"target":["#description"]},{"all":[],"any":[{"data":"time","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value="">","impact":null,"none":[],"target":["#time"]},{"all":[],"any":[{"data":"category_id","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<select class="form-control" id="category_id" name="category_id" placeholder="category" required="">","impact":null,"none":[],"target":["#category_id"]},{"all":[],"any":[{"data":"submit","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<input class="btn btn-lg btn-primary" id="submit" name="submit" type="submit" value="Add Article">","impact":null,"none":[],"target":["#submit"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<td> URL:<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value=""></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr:nth-child(1) > td"]},{"all":[],"any":[],"html":"<td> Title:<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value=""></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr:nth-child(2) > td"]},{"all":[],"any":[],"html":"<td> Description:<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr:nth-child(3) > td"]},{"all":[],"any":[],"html":"<td> Time:<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value=""></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr:nth-child(4) > td"]},{"all":[],"any":[],"html":"<td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr:nth-child(5) > td"]},{"all":[],"any":[],"html":"<td>n <input type="hidden" >n </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr:nth-child(6) > td"]},{"all":[],"any":[],"html":"<td><input class="btn btn-lg btn-primary" id="submit" name="submit" type="submit" value="Add Article"></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["tr[align="center"] > td"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#url"]},{"all":[],"any":[],"html":"<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#title"]},{"all":[],"any":[],"html":"<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#description"]},{"all":[],"any":[],"html":"<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#time"]},{"all":[],"any":[],"html":"<select class="form-control" id="category_id" name="category_id" placeholder="category" required="">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#category_id"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[{"all":[],"any":[],"html":"<table class="table table-hover table">","impact":null,"none":[{"data":null,"id":"has-th","impact":"serious","message":"Layout table does not use <th> elements","relatedNodes":[]},{"data":null,"id":"has-caption","impact":"serious","message":"Layout table does not use <caption> element","relatedNodes":[]},{"data":null,"id":"has-summary","impact":"serious","message":"Layout table does not use summary attribute","relatedNodes":[]}],"target":["table"]}],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[{"all":[],"any":[],"html":"<table class="table table-hover table">","impact":null,"none":[{"data":null,"id":"same-caption-summary","impact":"minor","message":"Content of summary attribute and <caption> are not duplicated","relatedNodes":[]}],"target":["table"]}],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[{"all":[{"data":null,"id":"td-headers-attr","impact":"serious","message":"The headers attribute is exclusively used to refer to other cells in the table","relatedNodes":[]}],"any":[],"html":"<table class="table table-hover table">","impact":null,"none":[],"target":["table"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],,"url":"http://127.0.0.1:5000/articles","violations":[{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":"critical","nodes":[{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value="">","impact":"critical","none":[],"target":["#url"]},{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value="">","impact":"critical","none":[],"target":["#title"]},{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea>","impact":"critical","none":[],"target":["#description"]},{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value="">","impact":"critical","none":[],"target":["#time"]},{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<select class="form-control" id="category_id" name="category_id" placeholder="category" required="">","impact":"critical","none":[],"target":["#category_id"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Add Article</legend>","target":["legend"]},{"html":"<td> URL:<input autofocus="" class="form-control" id="url" name="url" placeholder="URL" required="" type="url" value=""></td>","target":["tr:nth-child(1) > td"]},{"html":"<td> Title:<input autofocus="" class="form-control" id="title" name="title" placeholder="Title" required="" type="text" value=""></td>","target":["tr:nth-child(2) > td"]},{"html":"<td> Description:<textarea autofocus="" class="form-control" id="description" name="description" placeholder="Description" required=""></textarea></td>","target":["tr:nth-child(3) > td"]},{"html":"<td> Time:<input autofocus="" class="form-control" id="time" max="120" min="1" name="time" placeholder="Time (in Minutes)" required="" type="number" value=""></td>","target":["tr:nth-child(4) > td"]},{"html":"<td>","target":["tr:nth-child(5) > td"]},{"html":"<input class="btn btn-lg btn-primary" id="submit" name="submit" type="submit" value="Add Article">","target":["#submit"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","target":["p"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility | qxf2_public_repos/newsletter_automation/tests/integration/tests/accessibility_tests/snapshots/test_accessibility/test_accessibility/chrome/snapshot_output_manage_articles_page.txt | {"inapplicable":[{"description":"Ensures every accesskey attribute value is unique","help":"accesskey attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/accesskeys?application=axeAPI","id":"accesskeys","impact":null,"nodes":[],"tags":["best-practice","cat.keyboard"]},{"description":"Ensures <area> elements of image maps have alternate text","help":"Active <area> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/area-alt?application=axeAPI","id":"area-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles","help":"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-dpub-role-fallback?application=axeAPI","id":"aria-dpub-role-fallback","impact":null,"nodes":[],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensure the autocomplete attribute is correct and suitable for the form field","help":"autocomplete attribute must be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/autocomplete-valid?application=axeAPI","id":"autocomplete-valid","impact":null,"nodes":[],"tags":["cat.forms","wcag21aa","wcag135"]},{"description":"Ensures <blink> elements are not used","help":"<blink> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/blink?application=axeAPI","id":"blink","impact":null,"nodes":[],"tags":["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"]},{"description":"Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent","help":"Checkbox inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/checkboxgroup?application=axeAPI","id":"checkboxgroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures <dl> elements are structured correctly","help":"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/definition-list?application=axeAPI","id":"definition-list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <dt> and <dd> elements are contained by a <dl>","help":"<dt> and <dd> elements must be contained by a <dl>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/dlitem?application=axeAPI","id":"dlitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <iframe> and <frame> elements contain the axe-core script","help":"Frames must be tested with axe-core","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-tested?application=axeAPI","id":"frame-tested","impact":null,"nodes":[],"tags":["cat.structure","review-item"]},{"description":"Ensures <iframe> and <frame> elements contain a unique title attribute","help":"Frames must have a unique title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title-unique?application=axeAPI","id":"frame-title-unique","impact":null,"nodes":[],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures <iframe> and <frame> elements contain a non-empty title attribute","help":"Frames must have title attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI","id":"frame-title","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"]},{"description":"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page","help":"HTML elements with lang and xml:lang must have the same base language","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-xml-lang-mismatch?application=axeAPI","id":"html-xml-lang-mismatch","impact":null,"nodes":[],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <input type="image"> elements have alternate text","help":"Image buttons must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/input-image-alt?application=axeAPI","id":"input-image-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures the banner landmark is at top level","help":"Banner landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-banner-is-top-level?application=axeAPI","id":"landmark-banner-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the contentinfo landmark is at top level","help":"Contentinfo landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-contentinfo-is-top-level?application=axeAPI","id":"landmark-contentinfo-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the main landmark is at top level","help":"Main landmark must not be contained in another landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-main-is-top-level?application=axeAPI","id":"landmark-main-is-top-level","impact":null,"nodes":[],"tags":["cat.semantics","best-practice"]},{"description":"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute","help":"Layout tables must not use data table elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/layout-table?application=axeAPI","id":"layout-table","impact":null,"nodes":[],"tags":["cat.semantics","wcag2a","wcag131"]},{"description":"Ensures that lists are structured correctly","help":"<ul> and <ol> must only directly contain <li>, <script> or <template> elements","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/list?application=axeAPI","id":"list","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <li> elements are used semantically","help":"<li> elements must be contained in a <ul> or <ol>","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/listitem?application=axeAPI","id":"listitem","impact":null,"nodes":[],"tags":["cat.structure","wcag2a","wcag131"]},{"description":"Ensures <marquee> elements are not used","help":"<marquee> elements are deprecated and must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/marquee?application=axeAPI","id":"marquee","impact":null,"nodes":[],"tags":["cat.parsing","wcag2a","wcag222"]},{"description":"Ensures <meta http-equiv="refresh"> is not used","help":"Timed refresh must not exist","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-refresh?application=axeAPI","id":"meta-refresh","impact":null,"nodes":[],"tags":["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"]},{"description":"Ensures <meta name="viewport"> can scale a significant amount","help":"Users should be able to zoom and scale the text up to 500%","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport-large?application=axeAPI","id":"meta-viewport-large","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","best-practice"]},{"description":"Ensures <meta name="viewport"> does not disable text scaling and zooming","help":"Zooming and scaling must not be disabled","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/meta-viewport?application=axeAPI","id":"meta-viewport","impact":null,"nodes":[],"tags":["cat.sensory-and-visual-cues","wcag2aa","wcag144"]},{"description":"Ensures <object> elements have alternate text","help":"<object> elements must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/object-alt?application=axeAPI","id":"object-alt","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensures related <input type="radio"> elements have a group and that the group designation is consistent","help":"Radio inputs with the same name attribute value must be part of a group","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/radiogroup?application=axeAPI","id":"radiogroup","impact":null,"nodes":[],"tags":["cat.forms","best-practice"]},{"description":"Ensures the scope attribute is used correctly on tables","help":"scope attribute should be used correctly","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/scope-attr-valid?application=axeAPI","id":"scope-attr-valid","impact":null,"nodes":[],"tags":["cat.tables","best-practice"]},{"description":"Ensures that server-side image maps are not used","help":"Server-side image maps must not be used","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/server-side-image-map?application=axeAPI","id":"server-side-image-map","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"]},{"description":"Ensure all skip links have a focusable target","help":"The skip-link target should exist and be focusable","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/skip-link?application=axeAPI","id":"skip-link","impact":null,"nodes":[],"tags":["cat.keyboard","best-practice"]},{"description":"Ensures lang attributes have valid values","help":"lang attribute must have a valid value","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/valid-lang?application=axeAPI","id":"valid-lang","impact":null,"nodes":[],"tags":["cat.language","wcag2aa","wcag312"]},{"description":"Ensures <video> elements have captions","help":"<video> elements must have captions","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-caption?application=axeAPI","id":"video-caption","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"]},{"description":"Ensures <video> elements have audio descriptions","help":"<video> elements must have an audio description track","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/video-description?application=axeAPI","id":"video-description","impact":null,"nodes":[],"tags":["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"]}],"incomplete":[{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","target":[".col-md-2.sorting"]}]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":"serious","none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","target":[".col-md-3.sorting:nth-child(2)"]}]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":"serious","none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","target":[".col-md-3.sorting:nth-child(3)"]}]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":"serious","none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":"bgImage"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background image","relatedNodes":[{"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","target":[".col-md-1.sorting"]}]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":"serious","none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"10.6pt","fontWeight":"normal","missingData":"bgGradient"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined due to a background gradient","relatedNodes":[{"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","target":["#MultiDelete"]}]}],"html":"<span>Delete selected</span>","impact":"serious","none":[],"target":["#MultiDelete > span"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":"serious","none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":"serious","none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":"serious","none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element content is too short to determine if it is actual text content","relatedNodes":[]}],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":"serious","none":[],"target":[".current"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":"serious","none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#666666","fontSize":"12.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":"serious","none":[],"target":["#articlesTable_last"]},{"all":[],"any":[{"data":{"bgColor":null,"contrastRatio":0,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"9.0pt","fontWeight":"normal","missingData":"outsideViewport"},"id":"color-contrast","impact":"serious","message":"Element's background color could not be determined because it's outside the viewport","relatedNodes":[]}],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":"serious","none":[],"target":["p"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensure that each table header in a data table refers to data cells","help":"All th elements and elements with role=columnheader/rowheader must have data cells they describe","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/th-has-data-cells?application=axeAPI","id":"th-has-data-cells","impact":"serious","nodes":[{"all":[{"data":null,"id":"th-has-data-cells","impact":"serious","message":"Table data cells are missing or empty","relatedNodes":[{"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","target":[".col-md-1.sorting"]}]}],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":"serious","none":[],"target":["#articlesTable"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],"passes":[{"description":"Ensures ARIA attributes are allowed for an element's role","help":"Elements must only use allowed ARIA attributes","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-attr?application=axeAPI","id":"aria-allowed-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-attr","impact":"critical","message":"ARIA attributes are used correctly for the defined role","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures role attribute has an appropriate value for the element","help":"ARIA role must be appropriate for the element","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-allowed-role?application=axeAPI","id":"aria-allowed-role","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<svg class="svg-inline--fa fa-bars fa-2x hamburger-right" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">","impact":null,"none":[],"target":["svg"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-allowed-role","impact":"minor","message":"ARIA role is allowed for given element","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","best-practice"]},{"description":"Ensures aria-hidden='true' is not present on the document body.","help":"aria-hidden='true' must not be present on the document body","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-hidden-body?application=axeAPI","id":"aria-hidden-body","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-hidden-body","impact":"critical","message":"No aria-hidden attribute is present on document body","relatedNodes":[]}],"html":"<body>","impact":null,"none":[],"target":["body"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with ARIA roles have all required ARIA attributes","help":"Required ARIA attributes must be provided","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-attr?application=axeAPI","id":"aria-required-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-required-attr","impact":"critical","message":"All required ARIA attributes are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures elements with an ARIA role that require child roles contain them","help":"Certain ARIA roles must contain particular children","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-children?application=axeAPI","id":"aria-required-children","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-required-children","impact":"critical","message":"Required ARIA children are present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures elements with an ARIA role that require parent roles are contained by them","help":"Certain ARIA roles must be contained by particular parents","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-required-parent?application=axeAPI","id":"aria-required-parent","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<tr role="row">","impact":null,"none":[],"target":["tr[role="row"]"]},{"all":[],"any":[{"data":null,"id":"aria-required-parent","impact":"critical","message":"Required ARIA parent role present","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag131"]},{"description":"Ensures all elements with a role attribute use a valid value","help":"ARIA roles used must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-roles?application=axeAPI","id":"aria-roles","impact":null,"nodes":[{"all":[],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#articlesTable"]},{"all":[],"any":[],"html":"<tr role="row">","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["tr[role="row"]"]},{"all":[],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[{"data":null,"id":"invalidrole","impact":"critical","message":"ARIA role is valid","relatedNodes":[]},{"data":null,"id":"abstractrole","impact":"serious","message":"Abstract roles are not used","relatedNodes":[]},{"data":null,"id":"unsupportedrole","impact":"critical","message":"ARIA role is supported","relatedNodes":[]}],"target":["#articlesTable_info"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr-value?application=axeAPI","id":"aria-valid-attr-value","impact":null,"nodes":[{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":null,"none":[],"target":[".current"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[{"data":null,"id":"aria-valid-attr-value","impact":"critical","message":"ARIA attribute values are valid","relatedNodes":[]},{"data":null,"id":"aria-errormessage","impact":"critical","message":"Uses a supported aria-errormessage technique","relatedNodes":[]}],"any":[],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures attributes that begin with aria- are valid ARIA attributes","help":"ARIA attributes must conform to valid names","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/aria-valid-attr?application=axeAPI","id":"aria-valid-attr","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"aria-valid-attr","impact":"critical","message":"ARIA attribute name are valid","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.aria","wcag2a","wcag412"]},{"description":"Ensures buttons have discernible text","help":"Buttons must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/button-name?application=axeAPI","id":"button-name","impact":null,"nodes":[{"all":[],"any":[{"data":"Delete selected","id":"button-has-visible-text","impact":"critical","message":"Element has inner text that is visible to screen readers","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["#MultiDelete"]}],"tags":["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"]},{"description":"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content","help":"Page must have means to bypass repeated blocks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/bypass?application=axeAPI","id":"bypass","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"header-present","impact":"serious","message":"Page has a header","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"]},{"description":"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds","help":"Elements must have sufficient color contrast","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/color-contrast?application=axeAPI","id":"color-contrast","impact":"serious","nodes":[{"all":[],"any":[{"data":{"bgColor":"#e1eaf5","contrastRatio":6.38,"expectedContrastRatio":"3:1","fgColor":"#475369","fontSize":"30.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 6.38","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"3:1","fgColor":"#212529","fontSize":"18.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<legend>Manage Articles </legend>","impact":null,"none":[],"target":["legend"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":12.63,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 12.63","relatedNodes":[]}],"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label>","impact":null,"none":[],"target":["#articlesTable_length > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":12.63,"expectedContrastRatio":"4.5:1","fgColor":"#333333","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 12.63","relatedNodes":[]}],"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","impact":null,"none":[],"target":["#articlesTable_filter > label"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[],"target":["input"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":21,"expectedContrastRatio":"4.5:1","fgColor":"#000000","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 21","relatedNodes":[]}],"html":"<select id="categoryFilter" size="1">","impact":null,"none":[],"target":["#categoryFilter"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"bold","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[],"target":["th[aria-label="Action"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> python selenium selenium</td>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> python-selenium-change-url</td>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[],"target":[".odd:nth-child(1) > td:nth-child(5)"]},{"all":[],"any":[{"data":{"bgColor":"#0d6efd","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[],"target":["a[href$="edit/3"]"]},{"all":[],"any":[{"data":{"bgColor":"#dc3545","contrastRatio":4.52,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.52","relatedNodes":[]}],"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[],"target":["a[href$="delete/3"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> A currentweek:552902</td>","impact":null,"none":[],"target":[".even > td:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","impact":null,"none":[],"target":[".even > td:nth-child(2) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> currentweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[],"target":[".even > td:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[],"target":[".even > td:nth-child(5)"]},{"all":[],"any":[{"data":{"bgColor":"#0d6efd","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[],"target":["a[href$="edit/2"]"]},{"all":[],"any":[{"data":{"bgColor":"#dc3545","contrastRatio":4.52,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.52","relatedNodes":[]}],"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[],"target":["a[href$="delete/2"]"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> A pastweek:469717</td>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(1)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#0d6efd","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all;"> pastweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(3)"]},{"all":[],"any":[{"data":{"bgColor":"#ffffff","contrastRatio":15.42,"expectedContrastRatio":"4.5:1","fgColor":"#212529","fontSize":"12.0pt","fontWeight":"normal","missingData":"shortTextContent"},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 15.42","relatedNodes":[]}],"html":"<td style="word-break:break-all; text-align: center;"> 2</td>","impact":null,"none":[],"target":[".odd:nth-child(3) > td:nth-child(5)"]},{"all":[],"any":[{"data":{"bgColor":"#0d6efd","contrastRatio":4.5,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.5","relatedNodes":[]}],"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[],"target":["a[href$="edit/1"]"]},{"all":[],"any":[{"data":{"bgColor":"#dc3545","contrastRatio":4.52,"expectedContrastRatio":"4.5:1","fgColor":"#ffffff","fontSize":"10.5pt","fontWeight":"normal","missingData":null},"id":"color-contrast","impact":"serious","message":"Element has sufficient color contrast of 4.52","relatedNodes":[]}],"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[],"target":["a[href$="delete/1"]"]}],"tags":["cat.color","wcag2aa","wcag143"]},{"description":"Ensures each HTML document contains a non-empty <title> element","help":"Documents must have <title> element to aid in navigation","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/document-title?application=axeAPI","id":"document-title","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"doc-has-title","impact":"serious","message":"Document has a non-empty <title> element","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.text-alternatives","wcag2a","wcag242"]},{"description":"Ensures every id attribute value of active elements is unique","help":"IDs of active elements must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-active?application=axeAPI","id":"duplicate-id-active","impact":null,"nodes":[{"all":[],"any":[{"data":"categoryFilter","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<select id="categoryFilter" size="1">","impact":null,"none":[],"target":["#categoryFilter"]},{"all":[],"any":[{"data":"MultiDelete","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":"articlesTable_first","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":"articlesTable_previous","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":"articlesTable_next","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":"articlesTable_last","id":"duplicate-id-active","impact":"serious","message":"Document has no active elements that share the same id attribute","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value used in ARIA and in labels is unique","help":"IDs used in ARIA and labels must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id-aria?application=axeAPI","id":"duplicate-id-aria","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]},{"all":[],"any":[{"data":"articlesTable_info","id":"duplicate-id-aria","impact":"critical","message":"Document has no elements referenced with ARIA or labels that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","impact":null,"none":[],"target":["#articlesTable_info"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures every id attribute value is unique","help":"id attribute value must be unique","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/duplicate-id?application=axeAPI","id":"duplicate-id","impact":null,"nodes":[{"all":[],"any":[{"data":"articlesTable_wrapper","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_wrapper" class="dataTables_wrapper no-footer">","impact":null,"none":[],"target":["#articlesTable_wrapper"]},{"all":[],"any":[{"data":"articlesTable_length","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_length" id="articlesTable_length"><label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label></div>","impact":null,"none":[],"target":["#articlesTable_length"]},{"all":[],"any":[{"data":"articlesTable_filter","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div id="articlesTable_filter" class="dataTables_filter"><label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label></div>","impact":null,"none":[],"target":["#articlesTable_filter"]},{"all":[],"any":[{"data":"articlesTable_paginate","id":"duplicate-id","impact":"minor","message":"Document has no static elements that share the same id attribute","relatedNodes":[]}],"html":"<div class="dataTables_paginate paging_full_numbers" id="articlesTable_paginate">","impact":null,"none":[],"target":["#articlesTable_paginate"]}],"tags":["cat.parsing","wcag2a","wcag411"]},{"description":"Ensures headings have discernible text","help":"Headings must not be empty","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/empty-heading?application=axeAPI","id":"empty-heading","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.name-role-value","best-practice"]},{"description":"Ensures the order of headings is semantically correct","help":"Heading levels should only increase by one","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/heading-order?application=axeAPI","id":"heading-order","impact":null,"nodes":[{"all":[],"any":[{"data":1,"id":"heading-order","impact":"moderate","message":"Heading order valid","relatedNodes":[]}],"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","impact":null,"none":[],"target":["h1"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures every HTML document has a lang attribute","help":"<html> element must have a lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-has-lang?application=axeAPI","id":"html-has-lang","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-lang","impact":"serious","message":"The <html> element has a lang attribute","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures the lang attribute of the <html> element has a valid value","help":"<html> element must have a valid value for the lang attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/html-lang-valid?application=axeAPI","id":"html-lang-valid","impact":null,"nodes":[{"all":[],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[{"data":null,"id":"valid-lang","impact":"serious","message":"Value of lang attribute is included in the list of valid languages","relatedNodes":[]}],"target":["html"]}],"tags":["cat.language","wcag2a","wcag311"]},{"description":"Ensures <img> elements have alternate text or a role of none or presentation","help":"Images must have alternate text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-alt?application=axeAPI","id":"image-alt","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-alt","impact":"critical","message":"Element has an alt attribute","relatedNodes":[]}],"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","impact":null,"none":[],"target":["img"]}],"tags":["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"]},{"description":"Ensure button and link text is not repeated as image alternative","help":"Text of buttons and links should not be repeated in the image alternative","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/image-redundant-alt?application=axeAPI","id":"image-redundant-alt","impact":null,"nodes":[{"all":[],"any":[],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-2.sorting"]},{"all":[],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".col-md-1.sorting"]},{"all":[],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"all":[],"any":[],"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["th[aria-label="Action"]"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> python selenium selenium</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(1)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> <a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(2)"]},{"all":[],"any":[],"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> python-selenium-change-url</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(3)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(4)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(5)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(6)"]},{"all":[],"any":[],"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="edit/3"]"]},{"all":[],"any":[],"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="delete/3"]"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> A currentweek:552902</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(1)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> <a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(2)"]},{"all":[],"any":[],"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(2) > a"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> currentweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(3)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(4)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(5)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".even > td:nth-child(6)"]},{"all":[],"any":[],"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="edit/2"]"]},{"all":[],"any":[],"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="delete/2"]"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> A pastweek:469717</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(1)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> <a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a></td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(2)"]},{"all":[],"any":[],"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> pastweek advanced-python/python-mutable-and-immutable</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(3)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;"> </td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(4)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all; text-align: center;"> 2</td>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(5)"]},{"all":[],"any":[],"html":"<td style="word-break:break-all;">","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(6)"]},{"all":[],"any":[],"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="edit/1"]"]},{"all":[],"any":[],"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["a[href$="delete/1"]"]},{"all":[],"any":[],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["#MultiDelete"]},{"all":[],"any":[],"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","impact":null,"none":[{"data":null,"id":"duplicate-img-label","impact":"minor","message":"Element does not duplicate existing text in <img> alt text","relatedNodes":[]}],"target":["p"]}],"tags":["cat.text-alternatives","best-practice"]},{"description":"Ensures that every form element is not solely labeled using the title or aria-describedby attributes","help":"Form elements should have a visible label","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label-title-only?application=axeAPI","id":"label-title-only","impact":null,"nodes":[{"all":[],"any":[],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["input"]},{"all":[],"any":[],"html":"<select id="categoryFilter" size="1">","impact":null,"none":[{"data":null,"id":"title-only","impact":"serious","message":"Form element does not solely use title attribute for its label","relatedNodes":[]}],"target":["#categoryFilter"]}],"tags":["cat.forms","best-practice"]},{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":"critical","nodes":[{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select>","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label>","target":["#articlesTable_length > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["select[name="articlesTable_length"]"]},{"all":[],"any":[{"data":null,"id":"implicit-label","impact":"critical","message":"Form element has an implicit (wrapped) <label>","relatedNodes":[]}],"html":"<input type="search" class="" placeholder="" aria-controls="articlesTable">","impact":null,"none":[{"data":null,"id":"multiple-label","impact":"serious","message":"Form element does not have multiple <label> elements","relatedNodes":[{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]}]},{"data":null,"id":"hidden-explicit-label","impact":"critical","message":"Form element has a visible explicit <label>","relatedNodes":[]}],"target":["input"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has at most one banner landmark","help":"Page must not have more than one banner landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-banner?application=axeAPI","id":"landmark-no-duplicate-banner","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-banner","impact":"moderate","message":"Document has no more than one banner landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures the page has at most one contentinfo landmark","help":"Page must not have more than one contentinfo landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-no-duplicate-contentinfo?application=axeAPI","id":"landmark-no-duplicate-contentinfo","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"page-no-duplicate-contentinfo","impact":"moderate","message":"Page does not have more than one contentinfo landmark","relatedNodes":[]}],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures links have discernible text","help":"Links must have discernible text","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/link-name?application=axeAPI","id":"link-name","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/"><img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services"></a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".top-space-5 > a[href="/"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="edit/3"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="delete/3"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".even > td:nth-child(2) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="edit/2"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="delete/2"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="edit/1"]"]},{"all":[],"any":[{"data":null,"id":"has-visible-text","impact":"minor","message":"Element has text that is visible to screen readers","relatedNodes":[]}],"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","impact":null,"none":[{"data":null,"id":"focusable-no-name","impact":"serious","message":"Element is not in tab order or has accessible text","relatedNodes":[]}],"target":["a[href$="delete/1"]"]}],"tags":["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"]},{"description":"Ensure that the page, or at least one of its frames contains a level-one heading","help":"Page must contain a level-one heading","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/page-has-heading-one?application=axeAPI","id":"page-has-heading-one","impact":null,"nodes":[{"all":[{"data":null,"id":"page-has-heading-one","impact":"moderate","message":"Page has at least one level-one heading","relatedNodes":[{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]}]}],"any":[],"html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":null,"none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures tabindex attribute values are not greater than 0","help":"Elements should not have tabindex greater than zero","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/tabindex?application=axeAPI","id":"tabindex","impact":null,"nodes":[{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","impact":null,"none":[],"target":[".col-md-2.sorting"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(2)"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","impact":null,"none":[],"target":[".col-md-3.sorting:nth-child(3)"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","impact":null,"none":[],"target":[".col-md-1.sorting"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","impact":null,"none":[],"target":["#MultiDelete"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","impact":null,"none":[],"target":["#articlesTable_first"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","impact":null,"none":[],"target":["#articlesTable_previous"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","impact":null,"none":[],"target":[".current"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","impact":null,"none":[],"target":["#articlesTable_next"]},{"all":[],"any":[{"data":null,"id":"tabindex","impact":"serious","message":"Element does not have a tabindex greater than 0","relatedNodes":[]}],"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","impact":null,"none":[],"target":["#articlesTable_last"]}],"tags":["cat.keyboard","best-practice"]},{"description":"Ensure that tables do not have the same summary and caption","help":"The <caption> element should not contain the same text as the summary attribute","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/table-duplicate-name?application=axeAPI","id":"table-duplicate-name","impact":null,"nodes":[{"all":[],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[{"data":null,"id":"same-caption-summary","impact":"minor","message":"Content of summary attribute and <caption> are not duplicated","relatedNodes":[]}],"target":["#articlesTable"]}],"tags":["cat.tables","best-practice"]},{"description":"Ensure that each cell in a table using the headers refers to another cell in that table","help":"All cells in a table element that use the headers attribute must only refer to other cells of that same table","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/td-headers-attr?application=axeAPI","id":"td-headers-attr","impact":null,"nodes":[{"all":[{"data":null,"id":"td-headers-attr","impact":"serious","message":"The headers attribute is exclusively used to refer to other cells in the table","relatedNodes":[]}],"any":[],"html":"<table id="articlesTable" class="table dataTable no-footer" role="grid" aria-describedby="articlesTable_info" style="width: 1043px;">","impact":null,"none":[],"target":["#articlesTable"]}],"tags":["cat.tables","wcag2a","wcag131","section508","section508.22.g"]}],,"url":"http://127.0.0.1:5000/manage-articles","violations":[{"description":"Ensures every form element has a label","help":"Form elements must have labels","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/label?application=axeAPI","id":"label","impact":"critical","nodes":[{"all":[],"any":[{"data":null,"id":"aria-label","impact":"serious","message":"aria-label attribute does not exist or is empty","relatedNodes":[]},{"data":null,"id":"aria-labelledby","impact":"serious","message":"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty","relatedNodes":[]},{"data":null,"id":"implicit-label","impact":"critical","message":"Form element does not have an implicit (wrapped) <label>","relatedNodes":[]},{"data":null,"id":"explicit-label","impact":"critical","message":"Form element does not have an explicit <label>","relatedNodes":[]},{"data":null,"id":"non-empty-title","impact":"serious","message":"Element has no title attribute or the title attribute is empty","relatedNodes":[]}],"failureSummary":"Fix any of the following:n aria-label attribute does not exist or is emptyn aria-labelledby attribute does not exist, references elements that do not exist or references elements that are emptyn Form element does not have an implicit (wrapped) <label>n Form element does not have an explicit <label>n Element has no title attribute or the title attribute is empty","html":"<select id="categoryFilter" size="1">","impact":"critical","none":[],"target":["#categoryFilter"]}],"tags":["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"]},{"description":"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark","help":"Page must have one main landmark","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/landmark-one-main?application=axeAPI","id":"landmark-one-main","impact":"moderate","nodes":[{"all":[{"data":null,"id":"page-has-main","impact":"moderate","message":"Page does not have a main landmark","relatedNodes":[]}],"any":[],"failureSummary":"Fix all of the following:n Page does not have a main landmark","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.semantics","best-practice"]},{"description":"Ensures all page content is contained by landmarks","help":"All page content must be contained by landmarks","helpUrl":"https://dequeuniversity.com/rules/axe/3.1/region?application=axeAPI","id":"region","impact":"moderate","nodes":[{"all":[],"any":[{"data":null,"id":"region","impact":"moderate","message":"Some page content is not contained by landmarks","relatedNodes":[{"html":"<img src="/static/img/qxf2_logo.png" class="img-responsive logo col-md-12" alt="Qxf2 Services">","target":["img"]},{"html":"<h1 class="banner-brown text-center">Qxf2 Newsletter Generator</h1>","target":["h1"]},{"html":"<legend>Manage Articles </legend>","target":["legend"]},{"html":"<label>Show <select name="articlesTable_length" aria-controls="articlesTable" class=""><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label>","target":["#articlesTable_length > label"]},{"html":"<label>Search:<input type="search" class="" placeholder="" aria-controls="articlesTable"></label>","target":["#articlesTable_filter > label"]},{"html":"<th class="col-md-2 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Title: activate to sort column ascending" style="width: 128px;">Title</th>","target":[".col-md-2.sorting"]},{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="URL: activate to sort column ascending" style="width: 206px;">URL</th>","target":[".col-md-3.sorting:nth-child(2)"]},{"html":"<th class="col-md-3 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Description: activate to sort column ascending" style="width: 212px;">Description</th>","target":[".col-md-3.sorting:nth-child(3)"]},{"html":"<th class="col-md-1 sorting" tabindex="0" aria-controls="articlesTable" rowspan="1" colspan="1" aria-label="Article Editor: activate to sort column ascending" style="width: 51px;">Article Editor</th>","target":[".col-md-1.sorting"]},{"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="n n Category (all)n Comic (1)n Past week (2)n Current week (3)n Automation corner (4)n Uncategorized (5)nn n " style="width: 179px;">","target":[".sorting_disabled.col-md-1:nth-child(5)"]},{"html":"<th class="col-md-1 sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 51px;">Action</th>","target":["th[aria-label="Action"]"]},{"html":"<td style="word-break:break-all;"> python selenium selenium</td>","target":[".odd:nth-child(1) > td:nth-child(1)"]},{"html":"<a href="https://www.qxf2.com/currentweek/">https://www.qxf2.com/currentweek/</a>","target":[".odd:nth-child(1) > td:nth-child(2) > a"]},{"html":"<td style="word-break:break-all;"> python-selenium-change-url</td>","target":[".odd:nth-child(1) > td:nth-child(3)"]},{"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","target":[".odd:nth-child(1) > td:nth-child(5)"]},{"html":"<a href="/edit/3" class="btn btn-sm btn-primary">Edit</a>","target":["a[href$="edit/3"]"]},{"html":"<a href="/delete/3" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","target":["a[href$="delete/3"]"]},{"html":"<td style="word-break:break-all;"> A currentweek:552902</td>","target":[".even > td:nth-child(1)"]},{"html":"<a href="https://www.qxf2.com/currentweek/1674631347">https://www.qxf2.com/currentweek/1674631347</a>","target":[".even > td:nth-child(2) > a"]},{"html":"<td style="word-break:break-all;"> currentweek advanced-python/python-mutable-and-immutable</td>","target":[".even > td:nth-child(3)"]},{"html":"<td style="word-break:break-all; text-align: center;"> 3</td>","target":[".even > td:nth-child(5)"]},{"html":"<a href="/edit/2" class="btn btn-sm btn-primary">Edit</a>","target":["a[href$="edit/2"]"]},{"html":"<a href="/delete/2" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","target":["a[href$="delete/2"]"]},{"html":"<td style="word-break:break-all;"> A pastweek:469717</td>","target":[".odd:nth-child(3) > td:nth-child(1)"]},{"html":"<a href="https://www.qxf2.com/pastweek/1674631347">https://www.qxf2.com/pastweek/1674631347</a>","target":[".odd:nth-child(3) > td:nth-child(2) > a"]},{"html":"<td style="word-break:break-all;"> pastweek advanced-python/python-mutable-and-immutable</td>","target":[".odd:nth-child(3) > td:nth-child(3)"]},{"html":"<td style="word-break:break-all; text-align: center;"> 2</td>","target":[".odd:nth-child(3) > td:nth-child(5)"]},{"html":"<a href="/edit/1" class="btn btn-sm btn-primary">Edit</a>","target":["a[href$="edit/1"]"]},{"html":"<a href="/delete/1" class="btn btn-sm btn-danger" onclick="return confirm('Are You Sure To Delete ?')">Delete</a>","target":["a[href$="delete/1"]"]},{"html":"<button class="dt-button" tabindex="0" aria-controls="articlesTable" type="button" id="MultiDelete"><span>Delete selected</span></button>","target":["#MultiDelete"]},{"html":"<div class="dataTables_info" id="articlesTable_info" role="status" aria-live="polite">Showing 1 to 3 of 3 entries</div>","target":["#articlesTable_info"]},{"html":"<a class="paginate_button first disabled" aria-controls="articlesTable" data-dt-idx="0" tabindex="-1" id="articlesTable_first">First</a>","target":["#articlesTable_first"]},{"html":"<a class="paginate_button previous disabled" aria-controls="articlesTable" data-dt-idx="1" tabindex="-1" id="articlesTable_previous">Previous</a>","target":["#articlesTable_previous"]},{"html":"<a class="paginate_button current" aria-controls="articlesTable" data-dt-idx="2" tabindex="0">1</a>","target":[".current"]},{"html":"<a class="paginate_button next disabled" aria-controls="articlesTable" data-dt-idx="3" tabindex="-1" id="articlesTable_next">Next</a>","target":["#articlesTable_next"]},{"html":"<a class="paginate_button last disabled" aria-controls="articlesTable" data-dt-idx="4" tabindex="-1" id="articlesTable_last">Last</a>","target":["#articlesTable_last"]},{"html":"<p class="text-center qxf2_copyright">n © Qxf2 Services 2021 -n <script>document.write(new Date().getFullYear())</script>2023n </p>","target":["p"]}]}],"failureSummary":"Fix any of the following:n Some page content is not contained by landmarks","html":"<html lang="en" class="fontawesome-i2svg-active fontawesome-i2svg-complete">","impact":"moderate","none":[],"target":["html"]}],"tags":["cat.keyboard","best-practice"]}]} | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/ui_tests/test_edit_articles.py | """
This is an example automated test to newsletter generator application
Our automated test will do the following:
#Open Qxf2 newsletter generator application
#Edit an article
"""
import os,sys,time
from turtle import title
from typing_extensions import runtime
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from page_objects.PageFactory import PageFactory
from utils.Option_Parser import Option_Parser
import conf.edit_articles_conf as conf
import conf.base_url_conf as base_url_conf
import pytest
@pytest.mark.GUI
def test_edit_articles(test_obj):
"Run the test"
try:
#Initalize flags for tests summary
expected_pass = 0
actual_pass = -1
#Create a test object for edit an article
test_obj = PageFactory.get_page_object("edit articles page",base_url=test_obj.base_url)
#Get page title
page_title = test_obj.get_page_title()
#Set start_time with current time
start_time = int(time.time())
#Get the test details from the conf file
email = conf.email
password = conf.password
url = conf.url
title = conf.title
description = conf.description
runtime = conf.runtime
category = conf.category
search = conf.search
def edit_article():
#Click the hamburger menu
hamburger = test_obj.click_hamburger_button()
#Click manage article button
manage_article_button = test_obj.click_managearticle_button()
#Set the search string
search_article = test_obj.search_word(search)
#Click the edit button
edit_article = test_obj.edit_articles(url,title,description,runtime,category)
if page_title == "Unauthorized":
#Set the login
login = test_obj.login(email,password)
edit_article()
else:
edit_article()
#Print out the result
test_obj.write_test_summary()
expected_pass = test_obj.result_counter
actual_pass = test_obj.pass_counter
except Exception as e:
print("Exception when trying to run test: %s"%__file__)
print("Python says:%s"%str(e))
assert expected_pass == actual_pass, "Test failed: %s"%__file__
#---START OF SCRIPT
if __name__=='__main__':
print("Start of %s"%__file__)
#Creating an instance of the class
options_obj = Option_Parser()
options = options_obj.get_options()
#Run the test only if the options provided are valid
if options_obj.check_options(options):
test_obj = PageFactory.get_page_object("Zero",base_url=options.url)
#Setup and register a driver
test_obj.register_driver(options.remote_flag,options.os_name,options.os_version,options.browser,options.browser_version,options.remote_project_name,options.remote_build_name)
#Setup TestRail reporting
if options.testrail_flag.lower()=='y':
if options.test_run_id is None:
test_obj.write('\033[91m'+"\n\nTestRail Integration Exception: It looks like you are trying to use TestRail Integration without providing test run id. \nPlease provide a valid test run id along with test run command using -R flag and try again. for eg: pytest -X Y -R 100\n"+'\033[0m')
options.testrail_flag = 'N'
if options.test_run_id is not None:
test_obj.register_testrail()
test_obj.set_test_run_id(options.test_run_id)
if options.tesults_flag.lower()=='y':
test_obj.register_tesults()
test_edit_articles(test_obj)
#Teardowm
test_obj.teardown()
else:
print('ERROR: Received incorrect comand line input arguments')
print(option_obj.print_usage())
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/ui_tests/test_add_articles.py | """
This is an example automated test to newsletter generator application
Our automated test will do the following:
#Open Qxf2 newsletter generator application
#Fill the details of add articles section.
"""
import os,sys,time
from turtle import title
from typing_extensions import runtime
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from page_objects.PageFactory import PageFactory
from utils.Option_Parser import Option_Parser
import conf.add_articles_conf as add_article_conf
import conf.edit_articles_conf as edit_article_conf
import conf.manage_articles_conf as manage_articles_conf
import pytest
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
articles_added = []
@pytest.mark.GUI
def test_add_article(test_obj):
"Run the test"
try:
#Initalize flags for tests summary
time.sleep(5)
expected_pass = 0
actual_pass = -1
#Create a test object for add articles
test_obj = PageFactory.get_page_object("add articles page",base_url=test_obj.base_url)
#Get page title
page_title = test_obj.get_page_title()
#Set start_time with current time
start_time = int(time.time())
#Get the test details from the conf file
email = add_article_conf.email
password = add_article_conf.password
def adding_article():
#Click the hamburger menu
hamburger = test_obj.click_hamburger_button()
#Click manage article button
manage_article_button = test_obj.click_add_article()
#Skipping login if sso is turned off
if page_title == "Unauthorized":
#Set the login
login = test_obj.login(email,password)
adding_article()
else:
adding_article()
#Adding articles
article_list = add_article_conf.article_list
article_number = 1
#Collect form data
for article in article_list:
url = article['URL']+str(int(time.time()))
title = article['TITLE']+str(int(time.time()))
description = article['DESCRIPTION']
runtime = article['RUNTIME']
category = article['CATEGORY']
articles_added.append({'URL':url,'TITLE':title})
msg ="\nReady to fill article number %d"%article_number
test_obj.write(msg)
#Visit main page again
test_obj = PageFactory.get_page_object("add articles page",base_url=test_obj.base_url)
article_number = article_number + 1
#Set and submit the article in one go
result_flag = test_obj.submit_article(url,title,description,runtime,category)
test_obj.log_result(result_flag,
positive="Successfully submitted the article number %d\n"%article_number,
negative="Failed to submit the article number %d \nOn url: %s"%(article_number,test_obj.get_current_url()),
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
add_another_article = test_obj.click_addanother_article()
test_obj.write_test_summary()
expected_pass = test_obj.result_counter
actual_pass = test_obj.pass_counter
except Exception as e:
print("Exception when trying to run test: %s"%__file__)
print("Python says:%s"%str(e))
assert expected_pass == actual_pass, "Test failed: %s"%__file__
#---START OF SCRIPT
if __name__=='__main__':
print("Start of %s"%__file__)
#Creating an instance of the class
options_obj = Option_Parser()
options = options_obj.get_options()
#Run the test only if the options provided are valid
if options_obj.check_options(options):
test_obj = PageFactory.get_page_object("Zero",base_url=options.url)
#Setup and register a driver
test_obj.register_driver(options.remote_flag,options.os_name,options.os_version,options.browser,options.browser_version,options.remote_project_name,options.remote_build_name)
#Setup TestRail reporting
if options.testrail_flag.lower()=='y':
if options.test_run_id is None:
test_obj.write('\033[91m'+"\n\nTestRail Integration Exception: It looks like you are trying to use TestRail Integration without providing test run id. \nPlease provide a valid test run id along with test run command using -R flag and try again. for eg: pytest -X Y -R 100\n"+'\033[0m')
options.testrail_flag = 'N'
if options.test_run_id is not None:
test_obj.register_testrail()
test_obj.set_test_run_id(options.test_run_id)
if options.tesults_flag.lower()=='y':
test_obj.register_tesults()
test_add_article(test_obj)
#teardowm
test_obj.teardown()
else:
print('ERROR: Received incorrect comand line input arguments')
print(option_obj.print_usage())
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/ui_tests/test_delete_articles.py | """
This is an example automated test to newsletter generator application
Our automated test will do the following:
#Open Qxf2 newsletter generator application
#Delete an article
"""
from http.client import OK
import os,sys,time
from turtle import title
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from page_objects.PageFactory import PageFactory
from utils.Option_Parser import Option_Parser
import conf.manage_articles_conf as conf
import conf.base_url_conf as base_url_conf
import pytest
@pytest.mark.GUI
def test_delete_articles(test_obj):
"Run the test"
try:
#Initalize flags for tests summary
expected_pass = 0
actual_pass = -1
#Create a test object for delete an article
test_obj = PageFactory.get_page_object("manage articles page",base_url=test_obj.base_url)
#Get page title
page_title = test_obj.get_page_title()
#Set start_time with current time
start_time = int(time.time())
#Get the test details from the conf file
email = conf.email
password=conf.password
search=conf.search
def delete_article():
#Click the hamburger menu
hamburger = test_obj.click_hamburger_button()
#Click manage article button
manage_article_button = test_obj.click_managearticle_button()
#Set the search string
search_article = test_obj.search_word(search)
#Click the delete button
delete_button = test_obj.click_delete_button()
test_obj.accept_alert()
if page_title == "Unauthorized":
#Set the login
login = test_obj.login(email,password)
delete_article()
else:
delete_article()
#Print out the result
test_obj.write_test_summary()
expected_pass = test_obj.result_counter
actual_pass = test_obj.pass_counter
except Exception as e:
print("Exception when trying to run test: %s"%__file__)
print("Python says:%s"%str(e))
assert expected_pass == actual_pass, "Test failed: %s"%__file__
#---START OF SCRIPT
if __name__=='__main__':
print("Start of %s"%__file__)
#Creating an instance of the class
options_obj = Option_Parser()
options = options_obj.get_options()
#Run the test only if the options provided are valid
if options_obj.check_options(options):
test_obj = PageFactory.get_page_object("Zero",base_url=options.url)
#Setup and register a driver
test_obj.register_driver(options.remote_flag,options.os_name,options.os_version,options.browser,options.browser_version,options.remote_project_name,options.remote_build_name)
#Setup TestRail reporting
if options.testrail_flag.lower()=='y':
if options.test_run_id is None:
test_obj.write('\033[91m'+"\n\nTestRail Integration Exception: It looks like you are trying to use TestRail Integration without providing test run id. \nPlease provide a valid test run id along with test run command using -R flag and try again. for eg: pytest -X Y -R 100\n"+'\033[0m')
options.testrail_flag = 'N'
if options.test_run_id is not None:
test_obj.register_testrail()
test_obj.set_test_run_id(options.test_run_id)
if options.tesults_flag.lower()=='y':
test_obj.register_tesults()
test_delete_articles(test_obj)
#Teardowm
test_obj.teardown()
else:
print('ERROR: Received incorrect comand line input arguments')
print(option_obj.print_usage())
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/ui_tests/test_create_campaign.py | """
This is an example automated test to newsletter generator application
Our automated test will do the following:
#Open Qxf2 newsletter generator application
#Fill the details of create newsletter section.
"""
import os,sys,time
from typing_extensions import runtime
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from page_objects.PageFactory import PageFactory
from utils.Option_Parser import Option_Parser
import conf.create_newsletter_conf as conf
import pytest
from page_objects.form_object_create_newsletter import Form_Object_Create_Newsletter
@pytest.mark.GUI
def test_create_campaign(test_obj):
"Run the test"
try:
#Initalize flags for tests summary
expected_pass = 0
actual_pass = -1
start_time = int(time.time())
#Get the test details from the conf file
email = conf.email
password = conf.password
test_obj = PageFactory.get_page_object("Login", base_url=test_obj.base_url)
result_flag = test_obj.login(email, password)
test_obj.log_result(result_flag,
positive = "Logged into the app",
negative = "Could not log in to the app")
#Get the test details from the conf file and fill the forms
article_list_create_newsletter = conf.article_list_create_newsletter
article_list_create_newsletter_number = 1
#Initalize form counter
article_number = 1
test_obj = PageFactory.get_page_object("add articles page", base_url=test_obj.base_url)
articles_added = []
#Collect form data
for article in article_list_create_newsletter:
url = article['url']+str(int(time.time()))
title = article['title']+str(int(time.time()))
description = article['description']
runtime = article['runtime']
category = article['category']
articles_added.append({'url':url,'title':title,'category':category})
msg ="\nReady to fill article number %d"%article_number
test_obj.write(msg)
#Set and submit the article in one go
result_flag = test_obj.submit_article(url,title,description,runtime,category)
test_obj.log_result(result_flag,
positive="Successfully submitted the article number %d\n"%article_number,
negative="Failed to submit the article number %d \nOn url: %s"%(article_number,test_obj.get_current_url()),
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
test_obj.click_addanother_article()
article_number += 1
#Get the test details from the conf file
subject = conf.subject
opener = conf.opener
preview = conf.preview
#Create a test object for create newsletter
test_obj = PageFactory.get_page_object("create newsletter page", base_url=test_obj.base_url)
#Collect form data
for add_article in articles_added:
title = add_article['title']
category = add_article['category']
#Select and add articles for all the categories
result_flag = test_obj.add_articles(title,category)
test_obj.log_result(result_flag,
positive="Successfully added the articles",
negative="Failed to add the articles",
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
#Set the subject,opener and preview details and click preview newsletter
result_flag = test_obj.add_newsletter_details(subject,opener,preview)
test_obj.log_result(result_flag,
positive="Successfully added the articles details and clicked on preview newsletter",
negative="Failed to add the articles details and click on preview newsletter",
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
#Create a test object for preview newsletter
test_obj = PageFactory.get_page_object("preview newsletter page", base_url=test_obj.base_url)
#Create the campaign
result_create_campaign = test_obj.create_campaign()
test_obj.log_result(result_create_campaign,
positive="Campaign is succesfully created",
negative="Campaign is not created")
test_obj.write_test_summary()
expected_pass = test_obj.result_counter
actual_pass = test_obj.pass_counter
except Exception as e:
print("Exception when trying to run test: %s"%__file__)
print("Python says:%s"%str(e))
assert expected_pass == actual_pass, "Test failed: %s"%__file__
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/ui_tests/test_snapshots.py | """
This is an example automated test to newsletter generator application that uses percy to take snapshots of different pages of the application, so as to perform snapshot testing.
"""
import os,sys,time
from typing_extensions import runtime
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from page_objects.PageFactory import PageFactory
from utils.Option_Parser import Option_Parser
import conf.create_newsletter_conf as conf
import pytest
from page_objects.form_object_create_newsletter import Form_Object_Create_Newsletter
from percy import percy_snapshot
@pytest.mark.GUI
def test_snapshot(test_obj):
"Run the test"
try:
#Initalize flags for tests summary
expected_pass = 0
actual_pass = -1
start_time = int(time.time())
#Get the test details from the conf file
email = conf.email
password = conf.password
test_obj = PageFactory.get_page_object("Login", base_url=test_obj.base_url)
result_flag = test_obj.login(email, password)
test_obj.log_result(result_flag,
positive = "Logged into the app",
negative = "Could not log in to the app")
#Snapshot of homepage
percy_snapshot(driver=test_obj.get_current_driver(),name="Homepage")
#Get the test details from the conf file and fill the forms
article_list_create_newsletter = conf.article_list_create_newsletter
article_list_create_newsletter_number = 1
#Initalize form counter
article_number = 1
test_obj = PageFactory.get_page_object("add articles page", base_url=test_obj.base_url)
#Snapshot of add article page
percy_snapshot(driver=test_obj.get_current_driver(),name="Add article page")
articles_added = []
#Collect form data
for article in article_list_create_newsletter:
url = article['url']+str(int(time.time()))
title = article['title']+str(int(time.time()))
description = article['description']
runtime = article['runtime']
category = article['category']
articles_added.append({'url':url,'title':title,'category':category})
msg ="\nReady to fill article number %d"%article_number
test_obj.write(msg)
#Set and submit the article in one go
result_flag = test_obj.submit_article(url,title,description,runtime,category)
test_obj.log_result(result_flag,
positive="Successfully submitted the article number %d\n"%article_number,
negative="Failed to submit the article number %d \nOn url: %s"%(article_number,test_obj.get_current_url()),
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
if article_number==1:
#Snapshot of add another article page
percy_snapshot(driver=test_obj.get_current_driver(),name="Add another article page", percy_css='div p:nth-child(1) {visibility:hidden; }')
test_obj.click_addanother_article()
article_number += 1
#Get the test details from the conf file
subject = conf.subject
opener = conf.opener
preview = conf.preview
#Manage article page
test_obj = PageFactory.get_page_object("edit articles page",base_url=test_obj.base_url)
#Snapshot of manage articles page
percy_snapshot(driver=test_obj.get_current_driver(),name="Manage article page", percy_css='tbody {visibility:hidden; }')
#Create a test object for create newsletter
test_obj = PageFactory.get_page_object("create newsletter page", base_url=test_obj.base_url)
#snapshot of create campaign page
percy_snapshot(driver=test_obj.get_current_driver(),name="Create campaign page")
#Collect form data
for add_article in articles_added:
title = add_article['title']
category = add_article['category']
#Select and add articles for all the categories
result_flag = test_obj.add_articles(title,category)
test_obj.log_result(result_flag,
positive="Successfully added the articles",
negative="Failed to add the articles",
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
#Set the subject,opener and preview details and click preview newsletter
result_flag = test_obj.add_newsletter_details(subject,opener,preview)
test_obj.log_result(result_flag,
positive="Successfully added the articles details and clicked on preview newsletter",
negative="Failed to add the articles details and click on preview newsletter",
level="critical")
test_obj.write('Script duration: %d seconds\n'%(int(time.time()-start_time)))
#Create a test object for preview newsletter
test_obj = PageFactory.get_page_object("preview newsletter page", base_url=test_obj.base_url)
#snapshot of preview article page
percy_snapshot(driver=test_obj.get_current_driver(),name="Preview article page", percy_css='tbody td {visibility:hidden; }')
#Create the campaign
result_create_campaign = test_obj.create_campaign()
test_obj.log_result(result_create_campaign,
positive="Campaign is succesfully created",
negative="Campaign is not created")
test_obj.write_test_summary()
expected_pass = test_obj.result_counter
actual_pass = test_obj.pass_counter
except Exception as e:
print("Exception when trying to run test: %s"%__file__)
print("Python says:%s"%str(e))
assert expected_pass == actual_pass, "Test failed: %s"%__file__
#---START OF SCRIPT
if __name__=='__main__':
print("Start of %s"%__file__)
#Creating an instance of the class
options_obj = Option_Parser()
options = options_obj.get_options()
#Run the test only if the options provided are valid
if options_obj.check_options(options):
test_obj = PageFactory.get_page_object("Zero",base_url=options.url)
#Setup and register a driver
test_obj.register_driver(options.remote_flag,options.os_name,options.os_version,options.browser,options.browser_version,options.remote_project_name,options.remote_build_name)
if options.tesults_flag.lower()=='y':
test_obj.register_tesults()
test_snapshot(test_obj)
#teardowm
test_obj.teardown()
else:
print('ERROR: Received incorrect comand line input arguments')
print(option_obj.print_usage()) | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/api_tests/test_api_multiple_articles.py | """
API TEST
Add articles in all categories - POST request(without url_params)
"""
import os
import sys
import pytest
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from endpoints.API_Player import API_Player
from conf import api_tests_conf as conf
from conftest import interactivemode_flag
import time
@pytest.mark.API
def test_api_example(test_api_obj):
"Run api test"
try:
expected_pass = 0
actual_pass = -1
# set authentication details
headers = conf.headers
article_editors = conf.article_editors
# add articles
for counter,editor in enumerate(article_editors):
current_timestamp =str(int(time.time())+counter)
counter += 1
StrCounter = str(counter)
article_details = {'url':conf.article_url +current_timestamp,'title':conf.article_title+StrCounter,'description':conf.article_description+StrCounter,'category_id':StrCounter,'article_editor':editor}
response = test_api_obj.add_article(article_details=article_details,
headers=headers)
result_flag = True if 'Record' in response.get('response',{}).get('message','fail') else False
test_api_obj.log_result(result_flag,
positive='Successfully added new article with details %s' % response,
negative='Could not add new article with details %s' % response)
# write out test summary
expected_pass = test_api_obj.total
actual_pass = test_api_obj.passed
test_api_obj.write_test_summary()
except Exception as e:
print(e)
test_api_obj.write("Exception when trying to run test:%s" % __file__)
test_api_obj.write("Python says:%s" % str(e))
# Assertion
assert expected_pass == actual_pass,"Test failed: %s"%__file__
if __name__ == '__main__':
test_api_example()
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/tests | qxf2_public_repos/newsletter_automation/tests/integration/tests/api_tests/test_api_delete_article.py | """
API Test
Delete an article - Delete request(without url_params)
"""
import os
import sys
import pytest
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from endpoints.API_Player import API_Player
from conf import api_tests_conf as conf
from conftest import interactivemode_flag
@pytest.mark.API
def test_api_example(test_api_obj):
"Run api test"
try:
expected_pass = 0
actual_pass = -1
# set authentication details
headers = conf.headers
article_details = conf.article_details
# Delete an article
response = test_api_obj.delete_article(article_details=article_details,
headers=headers)
result_flag = True if 'Success' in response.get('response',{}).get('Message','fail') else False
test_api_obj.log_result(result_flag,
positive='Successfully deleted article with details %s' % response,
negative='Could not delete new article with details %s' % response)
# write out test summary
expected_pass = test_api_obj.total
actual_pass = test_api_obj.passed
test_api_obj.write_test_summary()
except Exception as e:
print(e)
test_api_obj.write("Exception when trying to run test:%s" % __file__)
test_api_obj.write("Python says:%s" % str(e))
# Assertion
assert expected_pass == actual_pass,"Test failed: %s"%__file__
if __name__ == '__main__':
test_api_example()
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Test_Rail.py | """
TestRail integration:
* limited to what we need at this time
* we assume TestRail operates in single suite mode
i.e., the default, reccomended mode
API reference: http://docs.gurock.com/testrail-api2/start
"""
import os,sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from utils import testrail
import conf.testrailenv_conf as conf_file
class Test_Rail:
"Wrapper around TestRail's API"
# Added below to fix PytestCollectionWarning
__test__ = False
def __init__(self):
"Initialize the TestRail objects"
self.set_testrail_conf()
def set_testrail_conf(self):
"Set the TestRail URL and username, password"
#Set the TestRail URL
self.testrail_url = conf_file.testrail_url
self.client = testrail.APIClient(self.testrail_url)
#TestRail User and Password
self.client.user = conf_file.testrail_user
self.client.password = conf_file.testrail_password
def get_project_id(self,project_name):
"Get the project ID using project name"
project_id=None
projects = self.client.send_get('get_projects')
for project in projects:
if project['name'] == project_name:
project_id = project['id']
break
return project_id
def get_suite_id(self,project_name,suite_name):
"Get the suite ID using project name and suite name"
suite_id=None
project_id = self.get_project_id(project_name)
suites = self.client.send_get('get_suites/%s'%(project_id))
for suite in suites:
if suite['name'] == suite_name:
suite_id = suite['id']
break
return suite_id
def get_milestone_id(self,project_name,milestone_name):
"Get the milestone ID using project name and milestone name"
milestone_id = None
project_id = self.get_project_id(project_name)
milestones = self.client.send_get('get_milestones/%s'%(project_id))
for milestone in milestones:
if milestone['name'] == milestone_name:
milestone_id = milestone['id']
break
return milestone_id
def get_user_id(self,user_name):
"Get the user ID using user name"
user_id=None
users = self.client.send_get('get_users')
for user in users:
if user['name'] == user_name:
user_id = user['id']
break
return user_id
def get_run_id(self,project_name,test_run_name):
"Get the run ID using test name and project name"
run_id=None
project_id = self.get_project_id(project_name)
try:
test_runs = self.client.send_get('get_runs/%s'%(project_id))
except Exception as e:
print('Exception in update_testrail() updating TestRail.')
print('PYTHON SAYS: ')
print(e)
else:
for test_run in test_runs:
if test_run['name'] == test_run_name:
run_id = test_run['id']
break
return run_id
def create_milestone(self,project_name,milestone_name,milestone_description=""):
"Create a new milestone if it does not already exist"
milestone_id = self.get_milestone_id(project_name,milestone_name)
if milestone_id is None:
project_id = self.get_project_id(project_name)
if project_id is not None:
try:
data = {'name':milestone_name,
'description':milestone_description}
self.client.send_post('add_milestone/%s'%str(project_id),
data)
except Exception as e:
print('Exception in create_new_project() creating new project.')
print('PYTHON SAYS: ')
print(e)
else:
print('Created the milestone: %s'%milestone_name)
else:
print("Milestone '%s' already exists"%milestone_name)
def create_new_project(self,new_project_name,project_description,show_announcement,suite_mode):
"Create a new project if it does not already exist"
project_id = self.get_project_id(new_project_name)
if project_id is None:
try:
self.client.send_post('add_project',
{'name': new_project_name,
'announcement': project_description,
'show_announcement': show_announcement,
'suite_mode': suite_mode,})
except Exception as e:
print('Exception in create_new_project() creating new project.')
print('PYTHON SAYS: ')
print(e)
else:
print("Project already exists %s"%new_project_name)
def create_test_run(self,project_name,test_run_name,milestone_name=None,description="",suite_name=None,case_ids=[],assigned_to=None):
"Create a new test run if it does not already exist"
#reference: http://docs.gurock.com/testrail-api2/reference-runs
project_id = self.get_project_id(project_name)
test_run_id = self.get_run_id(project_name,test_run_name)
if project_id is not None and test_run_id is None:
data = {}
if suite_name is not None:
suite_id = self.get_suite_id(project_name,suite_name)
if suite_id is not None:
data['suite_id'] = suite_id
data['name'] = test_run_name
data['description'] = description
if milestone_name is not None:
milestone_id = self.get_milestone_id(project_name,milestone_name)
if milestone_id is not None:
data['milestone_id'] = milestone_id
if assigned_to is not None:
assignedto_id = self.get_user_id(assigned_to)
if assignedto_id is not None:
data['assignedto_id'] = assignedto_id
if len(case_ids) > 0:
data['case_ids'] = case_ids
data['include_all'] = False
try:
self.client.send_post('add_run/%s'%(project_id),data)
except Exception as e:
print('Exception in create_test_run() Creating Test Run.')
print('PYTHON SAYS: ')
print(e)
else:
print('Created the test run: %s'%test_run_name)
else:
if project_id is None:
print("Cannot add test run %s because Project %s was not found"%(test_run_name,project_name))
elif test_run_id is not None:
print("Test run '%s' already exists"%test_run_name)
def delete_project(self,new_project_name,project_description):
"Delete an existing project"
project_id = self.get_project_id(new_project_name)
if project_id is not None:
try:
self.client.send_post('delete_project/%s'%(project_id),project_description)
except Exception as e:
print('Exception in delete_project() deleting project.')
print('PYTHON SAYS: ')
print(e)
else:
print('Cant delete the project given project name: %s'%(new_project_name))
def delete_test_run(self,test_run_name,project_name):
"Delete an existing test run"
run_id = self.get_run_id(test_run_name,project_name)
if run_id is not None:
try:
self.client.send_post('delete_run/%s'%(run_id),test_run_name)
except Exception as e:
print('Exception in update_testrail() updating TestRail.')
print('PYTHON SAYS: ')
print(e)
else:
print('Cant delete the test run for given project and test run name: %s , %s'%(project_name,test_run_name))
def update_testrail(self,case_id,run_id,result_flag,msg=""):
"Update TestRail for a given run_id and case_id"
update_flag = False
#Update the result in TestRail using send_post function.
#Parameters for add_result_for_case is the combination of runid and case id.
#status_id is 1 for Passed, 2 For Blocked, 4 for Retest and 5 for Failed
status_id = 1 if result_flag is True else 5
if ((run_id is not None) and (case_id != 'None')) :
try:
self.client.send_post(
'add_result_for_case/%s/%s'%(run_id,case_id),
{'status_id': status_id, 'comment': msg })
except Exception as e:
print('Exception in update_testrail() updating TestRail.')
print('PYTHON SAYS: ')
print(e)
else:
print('Updated test result for case: %s in test run: %s\n'%(case_id,run_id))
return update_flag
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/ssh_util.py | """
Qxf2 Services: Utility script to ssh into a remote server
* Connect to the remote server
* Execute the given command
* Upload a file
* Download a file
"""
import paramiko
import os,sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from conf import ssh_conf as conf_file
import socket
class Ssh_Util:
"Class to connect to remote server"
def __init__(self):
self.ssh_output = None
self.ssh_error = None
self.client = None
self.host= conf_file.HOST
self.username = conf_file.USERNAME
self.password = conf_file.PASSWORD
self.timeout = float(conf_file.TIMEOUT)
self.commands = conf_file.COMMANDS
self.pkey = conf_file.PKEY
self.port = conf_file.PORT
self.uploadremotefilepath = conf_file.UPLOADREMOTEFILEPATH
self.uploadlocalfilepath = conf_file.UPLOADLOCALFILEPATH
self.downloadremotefilepath = conf_file.DOWNLOADREMOTEFILEPATH
self.downloadlocalfilepath = conf_file.DOWNLOADLOCALFILEPATH
def connect(self):
"Login to the remote server"
try:
#Paramiko.SSHClient can be used to make connections to the remote server and transfer files
print("Establishing ssh connection...")
self.client = paramiko.SSHClient()
#Parsing an instance of the AutoAddPolicy to set_missing_host_key_policy() changes it to allow any host.
self.client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
#Connect to the server
if (self.password == ''):
private_key = paramiko.RSAKey.from_private_key_file(self.pkey)
self.client.connect(hostname=self.host, port=self.port, username=self.username,pkey=private_key ,timeout=self.timeout, allow_agent=False, look_for_keys=False)
print("Connected to the server",self.host)
else:
self.client.connect(hostname=self.host, port=self.port,username=self.username,password=self.password,timeout=self.timeout, allow_agent=False, look_for_keys=False)
print("Connected to the server",self.host)
except paramiko.AuthenticationException:
print("Authentication failed, please verify your credentials")
result_flag = False
except paramiko.SSHException as sshException:
print("Could not establish SSH connection: %s" % sshException)
result_flag = False
except socket.timeout as e:
print("Connection timed out")
result_flag = False
except Exception as e:
print('\nException in connecting to the server')
print('PYTHON SAYS:',e)
result_flag = False
self.client.close()
else:
result_flag = True
return result_flag
def execute_command(self,commands):
"""Execute a command on the remote host.Return a tuple containing
an integer status and a two strings, the first containing stdout
and the second containing stderr from the command."""
self.ssh_output = None
result_flag = True
try:
if self.connect():
for command in commands:
print("Executing command --> {}".format(command))
stdout, stderr = self.client.exec_command(command,timeout=10)
self.ssh_output = stdout.read()
self.ssh_error = stderr.read()
if self.ssh_error:
print("Problem occurred while running command:"+ command + " The error is " + self.ssh_error)
result_flag = False
else:
print("Command execution completed successfully",command)
self.client.close()
else:
print("Could not establish SSH connection")
result_flag = False
except socket.timeout as e:
self.write(str(e),'debug')
self.client.close()
result_flag = False
except paramiko.SSHException:
print("Failed to execute the command!",command)
self.client.close()
result_flag = False
return result_flag
def upload_file(self,uploadlocalfilepath,uploadremotefilepath):
"This method uploads the file to remote server"
result_flag = True
try:
if self.connect():
ftp_client= self.client.open_sftp()
ftp_client.put(uploadlocalfilepath,uploadremotefilepath)
ftp_client.close()
self.client.close()
else:
print("Could not establish SSH connection")
result_flag = False
except Exception as e:
print('\nUnable to upload the file to the remote server',uploadremotefilepath)
print('PYTHON SAYS:',e)
result_flag = False
ftp_client.close()
self.client.close()
return result_flag
def download_file(self,downloadremotefilepath,downloadlocalfilepath):
"This method downloads the file from remote server"
result_flag = True
try:
if self.connect():
ftp_client= self.client.open_sftp()
ftp_client.get(downloadremotefilepath,downloadlocalfilepath)
ftp_client.close()
self.client.close()
else:
print("Could not establish SSH connection")
result_flag = False
except Exception as e:
print('\nUnable to download the file from the remote server',downloadremotefilepath)
print('PYTHON SAYS:',e)
result_flag = False
ftp_client.close()
self.client.close()
return result_flag
#---USAGE EXAMPLES
if __name__=='__main__':
print("Start of %s"%__file__)
#Initialize the ssh object
ssh_obj = Ssh_Util()
#Sample code to execute commands
if ssh_obj.execute_command(ssh_obj.commands) is True:
print("Commands executed successfully\n")
else:
print ("Unable to execute the commands" )
#Sample code to upload a file to the server
if ssh_obj.upload_file(ssh_obj.uploadlocalfilepath,ssh_obj.uploadremotefilepath) is True:
print ("File uploaded successfully", ssh_obj.uploadremotefilepath)
else:
print ("Failed to upload the file")
#Sample code to download a file from the server
if ssh_obj.download_file(ssh_obj.downloadremotefilepath,ssh_obj.downloadlocalfilepath) is True:
print ("File downloaded successfully", ssh_obj.downloadlocalfilepath)
else:
print ("Failed to download the file")
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/xpath_util.py | """
Qxf2 Services: Utility script to generate XPaths for the given URL
* Take the input URL from the user
* Parse the HTML content using beautifilsoup
* Find all Input and Button tags
* Guess the XPaths
* Generate Variable names for the xpaths
* To run the script in Gitbash use command 'python -u utils/xpath_util.py'
"""
from selenium import webdriver
from bs4 import BeautifulSoup
import re
class Xpath_Util:
"Class to generate the xpaths"
def __init__(self):
"Initialize the required variables"
self.elements = None
self.guessable_elements = ['input','button']
self.known_attribute_list = ['id','name','placeholder','value','title','type','class']
self.variable_names = []
self.button_text_lists = []
self.language_counter = 1
def generate_xpath(self,soup):
"generate the xpath and assign the variable names"
result_flag = False
for guessable_element in self.guessable_elements:
self.elements = soup.find_all(guessable_element)
for element in self.elements:
if (not element.has_attr("type")) or (element.has_attr("type") and element['type'] != "hidden"):
for attr in self.known_attribute_list:
if element.has_attr(attr):
locator = self.guess_xpath(guessable_element,attr,element)
if len(driver.find_elements_by_xpath(locator))==1:
result_flag = True
variable_name = self.get_variable_names(element)
# checking for the unique variable names
if variable_name != '' and variable_name not in self.variable_names:
self.variable_names.append(variable_name)
print ("%s_%s = %s"%(guessable_element, variable_name.encode('utf-8').decode('latin-1'), locator.encode('utf-8').decode('latin-1')))
break
else:
print (locator.encode('utf-8').decode('latin-1') + "----> Couldn't generate appropriate variable name for this xpath")
elif guessable_element == 'button' and element.getText():
button_text = element.getText()
if element.getText() == button_text.strip():
locator = xpath_obj.guess_xpath_button(guessable_element,"text()",element.getText())
else:
locator = xpath_obj.guess_xpath_using_contains(guessable_element,"text()",button_text.strip())
if len(driver.find_elements_by_xpath(locator))==1:
result_flag = True
#Check for utf-8 characters in the button_text
matches = re.search(r"[^\x00-\x7F]",button_text)
if button_text.lower() not in self.button_text_lists:
self.button_text_lists.append(button_text.lower())
if not matches:
# Striping and replacing characters before printing the variable name
print ("%s_%s = %s"%(guessable_element,button_text.strip().strip("!?.").encode('utf-8').decode('latin-1').lower().replace(" + ","_").replace(" & ","_").replace(" ","_"), locator.encode('utf-8').decode('latin-1')))
else:
# printing the variable name with utf-8 characters along with language counter
print ("%s_%s_%s = %s"%(guessable_element,"foreign_language",self.language_counter, locator.encode('utf-8').decode('latin-1')) + "---> Foreign language found, please change the variable name appropriately")
self.language_counter +=1
else:
# if the variable name is already taken
print (locator.encode('utf-8').decode('latin-1') + "----> Couldn't generate appropriate variable name for this xpath")
break
elif not guessable_element in self.guessable_elements:
print("We are not supporting this gussable element")
return result_flag
def get_variable_names(self,element):
"generate the variable names for the xpath"
# condition to check the length of the 'id' attribute and ignore if there are numerics in the 'id' attribute. Also ingnoring id values having "input" and "button" strings.
if (element.has_attr('id') and len(element['id'])>2) and bool(re.search(r'\d', element['id'])) == False and ("input" not in element['id'].lower() and "button" not in element['id'].lower()):
self.variable_name = element['id'].strip("_")
# condition to check if the 'value' attribute exists and not having date and time values in it.
elif element.has_attr('value') and element['value'] != '' and bool(re.search(r'([\d]{1,}([/-]|\s|[.])?)+(\D+)?([/-]|\s|[.])?[[\d]{1,}',element['value']))== False and bool(re.search(r'\d{1,2}[:]\d{1,2}\s+((am|AM|pm|PM)?)',element['value']))==False:
# condition to check if the 'type' attribute exists
# getting the text() value if the 'type' attribute value is in 'radio','submit','checkbox','search'
# if the text() is not '', getting the getText() value else getting the 'value' attribute
# for the rest of the type attributes printing the 'type'+'value' attribute values. Doing a check to see if 'value' and 'type' attributes values are matching.
if (element.has_attr('type')) and (element['type'] in ('radio','submit','checkbox','search')):
if element.getText() !='':
self.variable_name = element['type']+ "_" + element.getText().strip().strip("_.")
else:
self.variable_name = element['type']+ "_" + element['value'].strip("_.")
else:
if element['type'].lower() == element['value'].lower():
self.variable_name = element['value'].strip("_.")
else:
self.variable_name = element['type']+ "_" + element['value'].strip("_.")
# condition to check if the "name" attribute exists and if the length of "name" attribute is more than 2 printing variable name
elif element.has_attr('name') and len(element['name'])>2:
self.variable_name = element['name'].strip("_")
# condition to check if the "placeholder" attribute exists and is not having any numerics in it.
elif element.has_attr('placeholder') and bool(re.search(r'\d', element['placeholder'])) == False:
self.variable_name = element['placeholder']
# condition to check if the "type" attribute exists and not in text','radio','button','checkbox','search'
# and printing the variable name
elif (element.has_attr('type')) and (element['type'] not in ('text','button','radio','checkbox','search')):
self.variable_name = element['type']
# condition to check if the "title" attribute exists
elif element.has_attr('title'):
self.variable_name = element['title']
# condition to check if the "role" attribute exists
elif element.has_attr('role') and element['role']!="button":
self.variable_name = element['role']
else:
self.variable_name = ''
return self.variable_name.lower().replace("+/- ","").replace("| ","").replace(" / ","_"). \
replace("/","_").replace(" - ","_").replace(" ","_").replace("&","").replace("-","_"). \
replace("[","_").replace("]","").replace(",","").replace("__","_").replace(".com","").strip("_")
def guess_xpath(self,tag,attr,element):
"Guess the xpath based on the tag,attr,element[attr]"
#Class attribute returned as a unicodeded list, so removing 'u from the list and joining back
if type(element[attr]) is list:
element[attr] = [i.encode('utf-8').decode('latin-1') for i in element[attr]]
element[attr] = ' '.join(element[attr])
self.xpath = "//%s[@%s='%s']"%(tag,attr,element[attr])
return self.xpath
def guess_xpath_button(self,tag,attr,element):
"Guess the xpath for button tag"
self.button_xpath = "//%s[%s='%s']"%(tag,attr,element)
return self.button_xpath
def guess_xpath_using_contains(self,tag,attr,element):
"Guess the xpath using contains function"
self.button_contains_xpath = "//%s[contains(%s,'%s')]"%(tag,attr,element)
return self.button_contains_xpath
#-------START OF SCRIPT--------
if __name__ == "__main__":
print ("Start of %s"%__file__)
#Initialize the xpath object
xpath_obj = Xpath_Util()
#Get the URL and parse
url = input("Enter URL: ")
#Create a chrome session
driver = webdriver.Chrome()
driver.get(url)
#Parsing the HTML page with BeautifulSoup
page = driver.execute_script("return document.body.innerHTML").encode('utf-8').decode('latin-1') #returns the inner HTML as a string
soup = BeautifulSoup(page, 'html.parser')
#execute generate_xpath
if xpath_obj.generate_xpath(soup) is False:
print ("No XPaths generated for the URL:%s"%url)
driver.quit() | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/results.py | """
Tracks test results and logs them.
Keeps counters of pass/fail/total.
"""
import logging
from utils.Base_Logging import Base_Logging
class Results(object):
""" Base class for logging intermediate test outcomes """
def __init__(self, level=logging.DEBUG, log_file_path=None):
self.logger = Base_Logging(log_file_name=log_file_path, level=level)
self.total = 0 # Increment whenever success or failure are called
self.passed = 0 # Increment everytime success is called
self.written = 0 # Increment when conditional_write is called
# Increment when conditional_write is called with True
self.written_passed = 0
self.failure_message_list = []
def assert_results(self):
""" Check if the test passed or failed """
assert self.passed == self.total
def write(self, msg, level='info'):
""" This method use the logging method """
self.logger.write(msg, level)
def conditional_write(self, condition, positive, negative, level='info', pre_format=" - "):
""" Write out either the positive or the negative message based on flag """
if condition:
self.write(pre_format + positive, level)
self.written_passed += 1
else:
self.write(pre_format + negative, level)
self.written += 1
def log_result(self, flag, positive, negative, level='info'):
""" Write out the result of the test """
if flag is True:
self.success(positive, level=level)
if flag is False:
self.failure(negative, level=level)
raise Exception
self.write('~~~~~~~~\n', level)
def success(self, msg, level='info', pre_format='PASS: '):
""" Write out a success message """
self.logger.write(pre_format + msg, level)
self.total += 1
self.passed += 1
def failure(self, msg, level='info', pre_format='FAIL: '):
""" Write out a failure message """
self.logger.write(pre_format + msg, level)
self.total += 1
self.failure_message_list.append(pre_format + msg)
def get_failure_message_list(self):
""" Return the failure message list """
return self.failure_message_list
def write_test_summary(self):
""" Print out a useful, human readable summary """
self.write('\n************************\n--------RESULT--------\nTotal number of checks=%d' % self.total)
self.write('Total number of mini-checks=%d' % self.written)
self.write('Total number of mini-checks passed=%d' % self.written_passed)
self.write('Total number of checks passed=%d\n----------------------\n************************\n\n' % self.passed)
failure_message_list = self.get_failure_message_list()
if len(failure_message_list) > 0:
self.write('\n--------FAILURE SUMMARY--------\n')
for msg in failure_message_list:
self.write(msg)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/string_to_int_util.py | '''
Qxf2 Services: This utility is for converting string to integer.
string_to_int(): This is particularly useful when you want to convert any string to integer.
'''
class String_To_Int():
"Class to convert string to integer"
def string_to_int(self,str_var):
"Method to convert string to integer"
try:
int_var = int(str_var)
except Exception as e:
print("Error type casting var to int")
print("Obtained the %s"%int_var)
print("Python says: " + str(e))
return str_var
return int_var | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Image_Compare.py | """
Qxf2 Services: Utility script to compare images
* Compare two images(actual and expected) smartly and generate a resultant image
* Get the sum of colors in an image
"""
from PIL import Image, ImageChops
import math, os
def rmsdiff(im1,im2):
"Calculate the root-mean-square difference between two images"
h = ImageChops.difference(im1, im2).histogram()
# calculate rms
return math.sqrt(sum(h*(i**2) for i, h in enumerate(h)) / (float(im1.size[0]) * im1.size[1]))
def is_equal(img_actual,img_expected,result):
"Returns true if the images are identical(all pixels in the difference image are zero)"
result_flag = False
if not os.path.exists(img_actual):
print('Could not locate the generated image: %s'%img_actual)
if not os.path.exists(img_expected):
print('Could not locate the baseline image: %s'%img_expected)
if os.path.exists(img_actual) and os.path.exists(img_expected):
actual = Image.open(img_actual)
expected = Image.open(img_expected)
result_image = ImageChops.difference(actual,expected)
color_matrix = ([0] + ([255] * 255))
result_image = result_image.convert('L')
result_image = result_image.point(color_matrix)
result_image.save(result)#Save the result image
if (ImageChops.difference(actual,expected).getbbox() is None):
result_flag = True
else:
#Let's do some interesting processing now
result_flag = analyze_difference_smartly(result)
if result_flag is False:
print("Since there is a difference in pixel value of both images, we are checking the threshold value to pass the images with minor difference")
#Now with threshhold!
result_flag = True if rmsdiff(actual,expected) < 958 else False
#For temporary debug purposes
print('RMS diff score: ',rmsdiff(actual,expected))
return result_flag
def analyze_difference_smartly(img):
"Make an evaluation of a difference image"
result_flag = False
if not os.path.exists(img):
print('Could not locate the image to analyze the difference smartly: %s'%img)
else:
my_image = Image.open(img)
#Not an ideal line, but we dont have any enormous images
pixels = list(my_image.getdata())
pixels = [1 for x in pixels if x!=0]
num_different_pixels = sum(pixels)
print('Number of different pixels in the result image: %d'%num_different_pixels)
#Rule 1: If the number of different pixels is <10, then pass the image
#This is relatively safe since all changes to objects will be more than 10 different pixels
if num_different_pixels < 10:
result_flag = True
return result_flag
def get_color_sum(img):
"Get the sum of colors in an image"
sum_color_pixels = -1
if not os.path.exists(img):
print('Could not locate the image to sum the colors: %s'%actual)
else:
my_image = Image.open(img)
color_matrix = ([0] + ([255] * 255))
my_image = my_image.convert('L')
my_image = my_image.point(color_matrix)
#Not an ideal line, but we don't have any enormous images
pixels = list(my_image.getdata())
sum_color_pixels = sum(pixels)
print('Sum of colors in the image %s is %d'%(img,sum_color_pixels))
return sum_color_pixels
#--START OF SCRIPT
if __name__=='__main__':
# Please update below img1, img2, result_img values before running this script
img1 = r'Add path of first image'
img2 = r'Add path of second image'
result_img= r'Add path of result image' #please add path along with resultant image name which you want
# Compare images and generate a resultant difference image
result_flag = is_equal(img1,img2,result_img)
if (result_flag == True):
print("Both images are matching")
else:
print("Images are not matching")
# Get the sum of colors in an image
get_color_sum(img1)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/stop_test_exception_util.py | '''
This utility is for Custom Exceptions.
a) Stop_Test_Exception
You can raise a generic exceptions using just a string.
This is particularly useful when you want to end a test midway based on some condition.
'''
class Stop_Test_Exception(Exception):
def __init__(self,message):
self.message=message
def __str__(self):
return self.message | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/email_util.py | """
A simple IMAP util that will help us with account activation
* Connect to your imap host
* Login with username/password
* Fetch latest messages in inbox
* Get a recent registration message
* Filter based on sender and subject
* Return text of recent messages
[TO DO](not in any particular order)
1. Extend to POP3 servers
2. Add a try catch decorator
3. Enhance get_latest_email_uid to make all parameters optional
"""
#The import statements import: standard Python modules,conf
import os,sys,time,imaplib,email
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import conf.email_conf as conf_file
class Email_Util:
"Class to interact with IMAP servers"
def connect(self,imap_host):
"Connect with the host"
self.mail = imaplib.IMAP4_SSL(imap_host)
return self.mail
def login(self,username,password):
"Login to the email"
result_flag = False
try:
self.mail.login(username,password)
except Exception as e:
print('\nException in Email_Util.login')
print('PYTHON SAYS:')
print(e)
print('\n')
else:
result_flag = True
return result_flag
def get_folders(self):
"Return a list of folders"
return self.mail.list()
def select_folder(self,folder):
"Select the given folder if it exists. E.g.: [Gmail]/Trash"
result_flag = False
response = self.mail.select(folder)
if response[0] == 'OK':
result_flag = True
return result_flag
def get_latest_email_uid(self,subject=None,sender=None,time_delta=10,wait_time=300):
"Search for a subject and return the latest unique ids of the emails"
uid = None
time_elapsed = 0
search_string = ''
if subject is None and sender is None:
search_string = 'ALL'
if subject is None and sender is not None:
search_string = '(FROM "{sender}")'.format(sender=sender)
if subject is not None and sender is None:
search_string = '(SUBJECT "{subject}")'.format(subject=subject)
if subject is not None and sender is not None:
search_string = '(FROM "{sender}" SUBJECT "{subject}")'.format(sender=sender,subject=subject)
print(" - Automation will be in search/wait mode for max %s seconds"%wait_time)
while (time_elapsed < wait_time and uid is None):
time.sleep(time_delta)
data = self.mail.uid('search',None,str(search_string))
if data[0].strip() != '': #Check for an empty set
uid = data[0].split()[-1]
time_elapsed += time_delta
return uid
def fetch_email_body(self,uid):
"Fetch the email body for a given uid"
email_body = []
if uid is not None:
data = self.mail.uid('fetch',uid,'(RFC822)')
raw_email = data[0][1]
email_msg = email.message_from_string(raw_email)
email_body = self.get_email_body(email_msg)
return email_body
def get_email_body(self,email_msg):
"Parse out the text of the email message. Handle multipart messages"
email_body = []
maintype = email_msg.get_content_maintype()
if maintype == 'multipart':
for part in email_msg.get_payload():
if part.get_content_maintype() == 'text':
email_body.append(part.get_payload())
elif maintype == 'text':
email_body.append(email_msg.get_payload())
return email_body
def logout(self):
"Logout"
result_flag = False
response = self.mail.logout()
if response == 'BYE':
result_flag = True
return result_flag
#---EXAMPLE USAGE---
if __name__=='__main__':
#Fetching conf details from the conf file
imap_host = conf_file.imaphost
username = conf_file.username
password = conf_file.app_password
#Initialize the email object
email_obj = Email_Util()
#Connect to the IMAP host
email_obj.connect(imap_host)
#Login
if email_obj.login(username,password):
print("PASS: Successfully logged in.")
else:
print("FAIL: Failed to login")
#Get a list of folder
folders = email_obj.get_folders()
if folders != None or []:
print("PASS: Email folders:", email_obj.get_folders())
else:
print("FAIL: Didn't get folder details")
#Select a folder
if email_obj.select_folder('Inbox'):
print("PASS: Successfully selected the folder: Inbox")
else:
print("FAIL: Failed to select the folder: Inbox")
#Get the latest email's unique id
uid = email_obj.get_latest_email_uid(wait_time=300)
if uid != None:
print("PASS: Unique id of the latest email is: ",uid)
else:
print("FAIL: Didn't get unique id of latest email")
#A. Look for an Email from provided sender, print uid and check it's contents
uid = email_obj.get_latest_email_uid(sender="Andy from Google",wait_time=300)
if uid != None:
print("PASS: Unique id of the latest email with given sender is: ",uid)
#Check the text of the latest email id
email_body = email_obj.fetch_email_body(uid)
data_flag = False
print(" - Automation checking mail contents")
for line in email_body:
line = line.replace('=','')
line = line.replace('<','')
line = line.replace('>','')
if "Hi Email_Util" and "This email was sent to you" in line:
data_flag = True
break
if data_flag == True:
print("PASS: Automation provided correct Email details. Email contents matched with provided data.")
else:
print("FAIL: Provided data not matched with Email contents. Looks like automation provided incorrect Email details")
else:
print("FAIL: After wait of 5 mins, looks like there is no email present with given sender")
#B. Look for an Email with provided subject, print uid, find Qxf2 POM address and compare with expected address
uid = email_obj.get_latest_email_uid(subject="Qxf2 Services: Public POM Link",wait_time=300)
if uid != None:
print("PASS: Unique id of the latest email with given subject is: ",uid)
#Get pom url from email body
email_body = email_obj.fetch_email_body(uid)
expected_pom_url = "https://github.com/qxf2/qxf2-page-object-model"
pom_url = None
data_flag = False
print(" - Automation checking mail contents")
for body in email_body:
search_str = "/qxf2/"
body = body.split()
for element in body:
if search_str in element:
pom_url = element
data_flag = True
break
if data_flag == True:
break
if data_flag == True and expected_pom_url == pom_url:
print("PASS: Automation provided correct mail details. Got correct Qxf2 POM url from mail body. URL: %s"%pom_url)
else:
print("FAIL: Actual POM url not matched with expected pom url. Actual URL got from email: %s"%pom_url)
else:
print("FAIL: After wait of 5 mins, looks like there is no email present with given subject")
#C. Look for an Email with provided sender and subject and print uid
uid = email_obj.get_latest_email_uid(subject="get more out of your new Google Account",sender="andy-noreply@google.com",wait_time=300)
if uid != None:
print("PASS: Unique id of the latest email with given subject and sender is: ",uid)
else:
print("FAIL: After wait of 5 mins, looks like there is no email present with given subject and sender")
#D. Look for an Email with non-existant sender and non-existant subject details
uid = email_obj.get_latest_email_uid(subject="Activate your account",sender="support@qxf2.com",wait_time=120) #you can change wait time by setting wait_time variable
if uid != None:
print("FAIL: Unique id of the latest email with non-existant subject and non-existant sender is: ",uid)
else:
print("PASS: After wait of 2 mins, looks like there is no email present with given non-existant subject and non-existant sender")
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Tesults.py | import tesults
import conf.tesults_conf as conf_file
cases = []
def add_test_case(data):
cases.append(data)
def post_results_to_tesults ():
token = conf_file.target_token_default # uses default token unless otherwise specified
data = {
'target': token,
'results': { 'cases': cases }
}
print ('-----Tesults output-----')
if len(data['results']['cases']) > 0:
print (data)
print('Uploading results to Tesults...')
ret = tesults.results(data)
print ('success: ' + str(ret['success']))
print ('message: ' + str(ret['message']))
print ('warnings: ' + str(ret['warnings']))
print ('errors: ' + str(ret['errors']))
else:
print ('No test results.') | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/__init__.py |
"Check if dict item exist for given key else return none"
def get_dict_item(from_this, get_this):
""" get dic object item """
if not from_this:
return None
item = from_this
if isinstance(get_this, str):
if get_this in from_this:
item = from_this[get_this]
else:
item = None
else:
for key in get_this:
if isinstance(item, dict) and key in item:
item = item[key]
else:
return None
return item
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Gif_Maker.py | """
Qxf2 Services: This utility is for creating a GIF of all the screenshots captured during current test run
"""
import imageio.v2 as imageio
import os
def make_gif(screenshot_dir_path,name = "test_recap",suffix=".gif",duration=2):
"Creates gif of the screenshots"
gif_name = None
images = []
if "/" in name:
name=name.split("/")[-1]
filenames = os.listdir(screenshot_dir_path)
if len(filenames) != 0:
gif_name = os.path.join(screenshot_dir_path, name + suffix)
for files in sorted(filenames):
images.append(imageio.imread(os.path.join(screenshot_dir_path, files)))
imageio.mimwrite(gif_name, images, duration=duration)
return gif_name | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/snapshot_util.py | """
Snapshot Integration
* This is a class which extends the methods of Snapshot parent class
"""
import conf.snapshot_dir_conf
from pytest_snapshot.plugin import Snapshot
snapshot_dir = conf.snapshot_dir_conf.snapshot_dir
class Snapshotutil(Snapshot):
"Snapshot object to use snapshot for comparisions"
def __init__(self, snapshot_update=False,
allow_snapshot_deletion=False,
snapshot_dir=snapshot_dir):
super().__init__(snapshot_update, allow_snapshot_deletion, snapshot_dir)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/post_test_reports_to_slack.py | '''
A Simple API util which used to post test reports on Slack Channel.
Steps to Use:
1. Generate Slack incoming webhook url by reffering our blog: https://qxf2.com/blog/post-pytest-test-results-on-slack/ & add url in our code
2. Generate test report log file by adding ">log/pytest_report.log" command at end of py.test command for e.g. py.test -k example_form -I Y -r F -v > log/pytest_report.log
Note: Your terminal must be pointed to root address of our POM while generating test report file using above command
3. Check you are calling correct report log file or not
'''
import json,os,requests
def post_reports_to_slack():
#To generate incoming webhook url ref: https://qxf2.com/blog/post-pytest-test-results-on-slack/
url= "incoming webhook url" #Add your Slack incoming webhook url here
#To generate pytest_report.log file add ">pytest_report.log" at end of py.test command for e.g. py.test -k example_form -I Y -r F -v > log/pytest_report.log
test_report_file = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','log','pytest_report.log'))#Change report file name & address here
with open(test_report_file, "r") as in_file:
testdata = ""
for line in in_file:
testdata = testdata + '\n' + line
# Set Slack Pass Fail bar indicator color according to test results
if 'FAILED' in testdata:
bar_color = "#ff0000"
else:
bar_color = "#36a64f"
data = {"attachments":[
{"color": bar_color,
"title": "Test Report",
"text": testdata}
]}
json_params_encoded = json.dumps(data)
slack_response = requests.post(url=url,data=json_params_encoded,headers={"Content-type":"application/json"})
if slack_response.text == 'ok':
print('\n Successfully posted pytest report on Slack channel')
else:
print('\n Something went wrong. Unable to post pytest report on Slack channel. Slack Response:', slack_response)
#---USAGE EXAMPLES
if __name__=='__main__':
post_reports_to_slack()
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/BrowserStack_Library.py | """
First version of a library to interact with BrowserStack's artifacts.
For now, this is useful for:
a) Obtaining the session URL
b) Obtaining URLs of screenshots
To do:
a) Handle expired sessions better
"""
import os,requests
from conf import remote_credentials as remote_credentials
class BrowserStack_Library():
"BrowserStack library to interact with BrowserStack artifacts"
def __init__(self):
"Constructor for the BrowserStack library"
self.browserstack_url = "https://www.browserstack.com/automate/"
self.auth = self.get_auth()
def get_auth(self):
"Set up the auth object for the Requests library"
USERNAME = remote_credentials.USERNAME
PASSWORD = remote_credentials.ACCESS_KEY
auth = (USERNAME,PASSWORD)
return auth
def get_build_id(self):
"Get the build ID"
self.build_url = self.browserstack_url + "builds.json"
builds = requests.get(self.build_url, auth=self.auth).json()
build_id = builds[0]['automation_build']['hashed_id']
return build_id
def get_sessions(self):
"Get a JSON object with all the sessions"
build_id = self.get_build_id()
sessions= requests.get(self.browserstack_url + 'builds/%s/sessions.json'%build_id, auth=self.auth).json()
return sessions
def get_active_session_id(self):
"Return the session ID of the first active session"
session_id = None
sessions = self.get_sessions()
for session in sessions:
#Get session id of the first session with status = running
if session['automation_session']['status']=='running':
session_id = session['automation_session']['hashed_id']
break
return session_id
def get_session_url(self):
"Get the session URL"
build_id = self.get_build_id()
session_id = self.get_active_session_id()
session_url = self.browserstack_url + 'builds/%s/sessions/%s'%(build_id,session_id)
return session_url
def get_session_logs(self):
"Return the session log in text format"
build_id = self.get_build_id()
session_id = self.get_active_session_id()
session_log = requests.get(self.browserstack_url + 'builds/%s/sessions/%s/logs'%(build_id,session_id),auth=self.auth).text
return session_log
def get_latest_screenshot_url(self):
"Get the URL of the latest screenshot"
session_log = self.get_session_logs()
#Process the text to locate the URL of the last screenshot
#Extract the https://s2.amazonaws from example lines:
#2016-2-9 4:42:39:52 RESPONSE {"state":"success","sessionId":"f77e1de6e4f42a72e6a6ecfd80ed07b95036ca35","hCode":29018101,"value":"https://s3.amazonaws.com/testautomation/f77e1de6e4f42a72e6a6ecfd80ed07b95036ca35/screenshot-selenium-b14d4ec62a.png","class":"org.openqa.selenium.remote.Response","status":0}
#[2016-2-9 4:42:45:892] REQUEST [[2016-2-9 4:42:45:892]] GET /session/f77e1de6e4f42a72e6a6ecfd80ed07b95036ca35/title {}
#2016-2-9 4:42:45:957 RESPONSE {"state":"success","sessionId":"f77e1de6e4f42a72e6a6ecfd80ed07b95036ca35","hCode":19687124,"value":"New Member Registration & Signup - Chess.com","class":"org.openqa.selenium.remote.Response","status":0}
screenshot_request = session_log.split('screenshot {}')[-1]
response_result = screenshot_request.split('REQUEST')[0]
image_url = response_result.split('https://')[-1]
image_url = image_url.split('.png')[0]
screenshot_url = 'https://' + image_url + '.png'
return screenshot_url
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Base_Logging.py | """
Qxf2 Services: A plug-n-play class for logging.
This class wraps around Python's loguru module.
"""
import os, inspect
import logging
from loguru import logger
#from pytest_reportportal import RPLogger, RPLogHandler
from reportportal_client import RPLogger, RPLogHandler
class Base_Logging():
"A plug-n-play class for logging"
def __init__(self,log_file_name=None,level="DEBUG",format="{time:YYYY-MM-DD HH:mm:ss} | {level} | {module} | {message}"):
"Constructor for the logging class"
self.log_file_name=log_file_name
self.log_file_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','log'))
self.level=level
self.format=format
self.log = self.set_log(self.log_file_name,self.level,self.format)
self.rp_logger = None
def set_log(self,log_file_name,level,format,test_module_name=None):
"Add an handler sending log messages to a sink"
if test_module_name is None:
test_module_name = self.get_calling_module()
if not os.path.exists(self.log_file_dir):
os.makedirs(self.log_file_dir)
if log_file_name is None:
log_file_name = self.log_file_dir + os.sep + test_module_name + '.log'
else:
log_file_name = self.log_file_dir + os.sep + log_file_name
logger.add(log_file_name,level=level,format=format,
rotation="30 days", filter=None, colorize=None, serialize=False, backtrace=True, enqueue=False, catch=True)
def get_calling_module(self):
"Get the name of the calling module"
calling_file = inspect.stack()[-1][1]
if 'runpy' in calling_file:
calling_file = inspect.stack()[4][1]
calling_filename = calling_file.split(os.sep)
#This logic bought to you by windows + cygwin + git bash
if len(calling_filename) == 1: #Needed for
calling_filename = calling_file.split('/')
self.calling_module = calling_filename[-1].split('.')[0]
return self.calling_module
def setup_rp_logging(self, rp_pytest_service):
"Setup reportportal logging"
try:
# Setting up a logging.
logging.setLoggerClass(RPLogger)
self.rp_logger = logging.getLogger(__name__)
self.rp_logger.setLevel(logging.INFO)
# Create handler for Report Portal.
rp_handler = RPLogHandler(rp_pytest_service)
# Set INFO level for Report Portal handler.
rp_handler.setLevel(logging.INFO)
return self.rp_logger
except Exception as e:
self.write("Exception when trying to set rplogger")
self.write(str(e))
#self.exceptions.append("Error when setting up the reportportal logger")
def write(self,msg,level='info'):
"Write out a message"
#fname = inspect.stack()[2][3] #May be use a entry-exit decorator instead
all_stack_frames = inspect.stack()
for stack_frame in all_stack_frames[1:]:
if 'Base_Page' not in stack_frame[1]:
break
fname = stack_frame[3]
d = {'caller_func': fname}
if self.rp_logger:
if level.lower()== 'debug':
self.rp_logger.debug(msg=msg)
elif level.lower()== 'info':
self.rp_logger.info(msg)
elif level.lower()== 'warn' or level.lower()=='warning':
self.rp_logger.warning(msg)
elif level.lower()== 'error':
self.rp_logger.error(msg)
elif level.lower()== 'critical':
self.rp_logger.critical(msg)
else:
self.rp_logger.critical(msg)
return
if level.lower()== 'debug':
logger.debug("{module} | {msg}",module=d['caller_func'],msg=msg)
elif level.lower()== 'info':
logger.info("{module} | {msg}",module=d['caller_func'],msg=msg)
elif level.lower()== 'warn' or level.lower()=='warning':
logger.warning("{module} | {msg}",module=d['caller_func'],msg=msg)
elif level.lower()== 'error':
logger.error("{module} | {msg}",module=d['caller_func'],msg=msg)
elif level.lower()== 'critical':
logger.critical("{module} | {msg}",module=d['caller_func'],msg=msg)
else:
logger.critical("Unknown level passed for the msg: {}", msg) | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/accessibility_util.py | """
This is a module that contains the following methods
#Inject accessibility
#Run accessibility
"""
import os
from axe_selenium_python import Axe
script_url=os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "utils", "axe.min.js"))
class Accessibilityutil(Axe):
"Accessibility object to run accessibility test"
def __init__(self, driver):
super().__init__(driver, script_url)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/interactive_mode.py | """
Implementing the questionaty library to fetch the users choices for different arguments
"""
import sys
import questionary
from clear_screen import clear
from conf import api_tests_conf
from conf import browser_os_name_conf as conf
from conf import remote_credentials
def display_gui_test_options(browser,browser_version,os_version,
os_name,remote_flag,testrail_flag,tesults_flag):
"Displays the selected options to run the GUI test"
print("Browser selected:",browser)
if browser_version == []:
print("Browser version selected: None")
else:
print("Browser version selected:",browser_version)
if os_name == []:
print("OS selected: None")
else:
print("OS selected:",os_name)
if os_version == []:
print("OS version selected: None")
else:
print("OS version selected:",os_version)
print("Remote flag status:",remote_flag)
print("Testrail flag status:",testrail_flag)
print("Tesults flag status:",tesults_flag)
def set_default_flag_gui(browser,browser_version,os_version,os_name,
remote_flag,testrail_flag,tesults_flag):
"This checks if the user wants to run the test with the default options or no"
questionary.print("\nDefault Options",style="bold fg:green")
questionary.print("**********",style="bold fg:green")
display_gui_test_options(browser,browser_version,os_version,
os_name,remote_flag,testrail_flag,tesults_flag)
questionary.print("**********",style="bold fg:green")
default = questionary.select("Do you want to run the test with the default set of options?",
choices=["Yes","No"]).ask()
default_flag = True if default == "Yes" else False
return default_flag
def get_user_response_gui():
"Get response from user for GUI tests"
response = questionary.select("What would you like to change?",
choices=["Browser","Browser Version","Os Version",
"Os Name","Remote flag status","Testrail flag status",
"Tesults flag status","Set Remote credentials",
"Revert back to default options","Run","Exit"]).ask()
return response
def ask_questions_gui(browser,browser_version,os_version,os_name,remote_flag,
testrail_flag,tesults_flag):
"""This module asks the users questions on what options they wish to run
the test with and stores their choices"""
clear()
while True:
questionary.print("\nUse up and down arrow keys to switch between options.\
\nUse Enter key to select an option",
style="bold fg:yellow")
questionary.print("\nSelected Options",style="bold fg:green")
questionary.print("**********",style="bold fg:green")
display_gui_test_options(browser, browser_version, os_version, os_name,
remote_flag, testrail_flag, tesults_flag)
questionary.print("**********",style="bold fg:green")
response = get_user_response_gui()
clear()
if response == "Browser":
browser=questionary.select("Select the browser",
choices=conf.browsers).ask()
browser_version = []
if remote_flag == "Y":
questionary.print("Please select the browser version",
style="bold fg:darkred")
if response == "Browser Version":
if remote_flag == "Y":
browser_version = get_browser_version(browser)
else:
questionary.print("Browser version can be selected only when running the test remotely.\
\nPlease change the remote flag status inorder to use this option",
style="bold fg:red")
if response == "Remote flag status":
remote_flag = get_remote_flag_status()
if remote_flag == "Y":
browser = "chrome"
os_name = "Windows"
os_version = "10"
browser_version = "65"
questionary.print("The default remote test options has been selected",
style="bold fg:green")
if response == "Os Version":
os_version = get_os_version(os_name)
if response == "Os Name":
if remote_flag == "Y":
os_name, os_version = get_os_name(remote_flag)
else:
questionary.print("OS Name can be selected only when running the test remotely.\
\nPlease change the remote flag status inorder to use this option",
style="bold fg:red")
if response == "Testrail flag status":
testrail_flag = get_testrailflag_status()
if response == "Tesults flag status":
tesults_flag = get_tesultsflag_status()
if response == "Set Remote credentials":
set_remote_credentials()
if response == "Revert back to default options":
browser, os_name, os_version, browser_version, remote_flag, testrail_flag, tesults_flag = gui_default_options()
questionary.print("Reverted back to the default options",style="bold fg:green")
if response == "Run":
if remote_flag == "Y":
if browser_version == []:
questionary.print("Please select the browser version before you run the test",
style="bold fg:darkred")
elif os_version == []:
questionary.print("Please select the OS version before you run the test",
style="bold fg:darkred")
else:
break
else:
break
if response == "Exit":
sys.exit("Program interrupted by user, Exiting the program....")
return browser,browser_version,remote_flag,os_name,os_version,testrail_flag,tesults_flag
def ask_questions_mobile(mobile_os_name, mobile_os_version, device_name, app_package,
app_activity, remote_flag, device_flag, testrail_flag, tesults_flag,
app_name, app_path):
"""This module asks the users questions to fetch the options they wish to run the mobile
test with and stores their choices"""
clear()
while True:
questionary.print("\nUse up and down arrow keys to switch between options.\
\nUse Enter key to select an option",
style="bold fg:yellow")
mobile_display_options(mobile_os_name, mobile_os_version, device_name,
app_package, app_activity, remote_flag, device_flag,
testrail_flag, tesults_flag, app_name, app_path)
questionary.print("**********",style="bold fg:green")
response = get_user_response_mobile()
clear()
if response == "Mobile OS Name":
mobile_os_name, mobile_os_version, device_name = get_mobile_os_name()
if response == "Mobile OS Version":
mobile_os_version = get_mobile_os_version(mobile_os_name)
if response=="Device Name":
if mobile_os_name == "Android":
device_name = mobile_android_devices(mobile_os_version)
if mobile_os_name == "iOS":
device_name = mobile_ios_devices(mobile_os_version)
if response == "App Package":
app_package = questionary.text("Enter the app package name").ask()
if response == "App Activity":
app_package=questionary.text("Enter the App Activity").ask()
if response == "Set Remote credentials":
set_remote_credentials()
if response == "Remote Flag status":
remote_flag = get_remote_flag_status()
if response == "Testrail Flag status":
testrail_flag = get_testrailflag_status()
if response == "Tesults Flag status":
tesults_flag = get_tesultsflag_status()
if response == "App Name":
app_name = questionary.text("Enter App Name").ask()
if response == "App Path":
app_path = questionary.path("Enter the path to your app").ask()
if response == "Revert back to default options":
mobile_os_name, mobile_os_version, device_name, app_package, app_activity, remote_flag, device_flag, testrail_flag,tesults_flag, app_name, app_path = mobile_default_options()
if response == "Run":
if app_path is None:
questionary.print("Please enter the app path before you run the test",
style="bold fg:darkred")
else:
break
if response == "Exit":
sys.exit("Program interrupted by user, Exiting the program....")
return (mobile_os_name, mobile_os_version, device_name, app_package,
app_activity, remote_flag, device_flag, testrail_flag, tesults_flag,
app_name,app_path)
def get_user_response_mobile():
"Get response from user for mobile tests"
response = questionary.select("What would you like to change?",
choices=["Mobile OS Name","Mobile OS Version",
"Device Name","App Package","App Activity",
"Set Remote credentials","Remote Flag status",
"Testrail flag status","Tesults flag status",
"App Name","App Path",
"Revert back to default options",
"Run","Exit"]).ask()
return response
def ask_questions_api(api_url,session_flag=True):
"""This module asks the users questions to fetch the options
they wish to run the api test with and stores their choices"""
clear()
while True:
questionary.print("\nSeleted Options",style="bold fg:green")
questionary.print("**********",style="bold fg:green")
print("API URL:",api_url)
print("Session flag status:",session_flag)
questionary.print("**********",style="bold fg:green")
response = get_user_response_api()
clear()
if response == "Session flag status":
session_flag = get_sessionflag_status()
if response == "API URL":
api_url = get_api_url()
if response == "Reset back to default settings":
api_url = api_tests_conf.api_url
session_flag = True
questionary.print("Reverted back to default settings",
style="bold fg:green")
if response == "Run":
break
if response == "Exit":
sys.exit("Program interrupted by user, Exiting the program....")
return api_url,str(session_flag)
def get_user_response_api():
"Get response from user for api tests"
response=questionary.select("What would you like to change",
choices=["API URL","Session flag status",
"Reset back to default settings",
"Run","Exit"]).ask()
return response
def get_testrailflag_status():
"Get the testrail flag status"
testrail_flag = questionary.select("Enter the testrail flag",
choices=["Yes","No"]).ask()
if testrail_flag == "Yes":
testrail_flag = "Y"
else:
testrail_flag = "N"
return testrail_flag
def get_tesultsflag_status():
"Get tesults flag status"
tesults_flag = questionary.select("Enter the tesults flag",
choices=["Yes","No"]).ask()
if tesults_flag == "Yes":
tesults_flag = "Y"
else:
tesults_flag = "N"
return tesults_flag
def set_remote_credentials():
"set remote credentials file to run the test on browserstack or saucelabs"
platform = questionary.select("Select the remote platform on which you wish to run the test on",
choices=["Browserstack","Saucelabs"]).ask()
if platform == "Browserstack":
platform = "BS"
else:
platform = "SL"
username = questionary.text("Enter the Username").ask()
password = questionary.password("Enter the password").ask()
with open("conf/remote_credentials.py",'w') as cred_file:
cred_file.write("REMOTE_BROWSER_PLATFORM = '%s'\
\nUSERNAME = '%s'\
\nACCESS_KEY = '%s'"%(platform,username,password))
questionary.print("Updated the credentials successfully",
style="bold fg:green")
def get_remote_flag_status():
"Get the remote flag status"
remote_flag = questionary.select("Select the remote flag status",
choices=["Yes","No"]).ask()
if remote_flag == "Yes":
remote_flag = "Y"
else:
remote_flag = "N"
return remote_flag
def get_browser_version(browser):
"Get the browser version"
if browser == "chrome":
browser_version=questionary.select("Select the browser version",
choices=conf.chrome_versions).ask()
elif browser == "firefox":
browser_version=questionary.select("Select the browser version",
choices=conf.firefox_versions).ask()
elif browser == "safari":
browser_version = questionary.select("Select the browser version",
choices=conf.safari_versions).ask()
return browser_version
def get_os_version(os_name):
"Get OS Version"
if os_name == "windows":
os_version = questionary.select("Select the OS version",
choices=conf.windows_versions).ask()
elif os_name == "OS X":
if remote_credentials.REMOTE_BROWSER_PLATFORM == "SL":
os_version = questionary.select("Select the OS version",
choices=conf.sauce_labs_os_x_versions).ask()
else:
os_version = questionary.select("Select the OS version",
choices=conf.os_x_versions).ask()
else:
os_version= []
questionary.print("Please select the OS Name first",
style="bold fg:darkred")
return os_version
def get_os_name(remote_flag):
"Get OS Name"
os_name = questionary.select("Enter the OS version",choices=conf.os_list).ask()
os_version = []
if remote_flag == "Y":
questionary.print("Please select the OS Version",style="bold fg:darkred")
return os_name, os_version
def gui_default_options():
"The default options for GUI tests"
browser = conf.default_browser[0]
os_name = []
os_version = []
browser_version = []
remote_flag = "N"
testrail_flag = "N"
tesults_flag = "N"
return browser, os_name, os_version, browser_version, remote_flag, testrail_flag, tesults_flag
def mobile_display_options(mobile_os_name, mobile_os_version, device_name,
app_package, app_activity, remote_flag, device_flag,
testrail_flag, tesults_flag, app_name,app_path):
"Display the selected options for mobile tests"
print("Mobile OS Name:",mobile_os_name)
print("Mobile OS Version:",mobile_os_version)
print("Device Name:",device_name)
print("App Package:",app_package)
print("App Activity:",app_activity)
print("Remote Flag status:",remote_flag)
print("Device Flag status:",device_flag)
print("Testrail Flag status:",testrail_flag)
print("Tesults Flag status:",tesults_flag)
print("App Name:",app_name)
print("App Path:",app_path)
def mobile_android_devices(mobile_os_version):
"Get device name for android devices"
questionary.print("The devices that support Android %s has been listed.\
\nPlease select any one device"%(mobile_os_version),
style="bold fg:green")
if mobile_os_version == "10.0":
device_name = questionary.select("Select the device name",
choices=["Samsung Galaxy S20",
"Samsung Galaxy Note 20", "Google Pixel 4",
"Google Pixel 3","OnePlus 8",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "9.0":
device_name = questionary.select("Select the device name",
choices=["Samsung Galaxy S10",
"Samsung Galaxy A51", "Google Pixel 3a",
"Xiaomi Redmi Note 8","OnePlus 7",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "8.0":
device_name = questionary.select("Select the device name",
choices=["Samsung Galaxy S9",
"Google Pixel 2",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "8.1":
device_name = questionary.select("Select the device name",
choices=["Samsung Galaxy Note 9",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "7.1":
device_name = questionary.select("Select the device name",
choices=["Samsung Galaxy Note 8",
"Google Pixel","Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "7.0":
device_name=questionary.select("Select the device name",
choices=["Samsung Galaxy S8",
"Google Nexus 6P", "Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "6.0":
device_name = questionary.select("Select the device name",
choices=["Samsung Galaxy S7",
"Google Nexus 6","Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
else:
device_name = questionary.text("Enter the Device name").ask()
return device_name
def mobile_ios_devices(mobile_os_version):
"Get device name for ios devices"
questionary.print("The devices that support iOS %s has been listed.\
\nPlease select any one device"%(mobile_os_version),
style = "bold fg:green")
if mobile_os_version == "8.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 6",
"iPhone 6 Plus",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "9.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 6S","iPhone 6S Plus",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "10.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 7",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "11.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 6","iPhone 6S",
"iPhone 6S Plus","iPhone SE",
"Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "12.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 7","iPhone 8",
"iPhone XS","Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "13.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 11","iPhone 11 Pro",
"iPhone 8","Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
elif mobile_os_version == "14.0":
device_name = questionary.select("Select the device name",
choices=["iPhone 11","iPhone 12",
"iPhone 12 Pro","Other Devices"]).ask()
if device_name == "Other Devices":
device_name = questionary.text("Enter the device name").ask()
else:
device_name = questionary.text("Enter the Device name").ask()
return device_name
def mobile_default_options():
"The default options for mobile tests"
mobile_os_name = "Android"
mobile_os_version = "8.0"
device_name = "Samsung Galaxy S9"
app_package = "com.dudam.rohan.bitcoininfo"
app_activity = ".MainActivity"
remote_flag = "N"
device_flag = "N"
testrail_flag = "N"
tesults_flag = "N"
app_name = "Bitcoin Info_com.dudam.rohan.bitcoininfo.apk"
app_path = None
return (mobile_os_name, mobile_os_version, device_name, app_package,
app_activity, remote_flag, device_flag, testrail_flag,
tesults_flag, app_name, app_path)
def get_mobile_os_name():
"Get the mobile OS name"
mobile_os_name=questionary.select("Select the Mobile OS",
choices=["Android","iOS"]).ask()
if mobile_os_name == "Android":
mobile_os_version = "8.0"
device_name = "Samsung Galaxy S9"
questionary.print("The default os version and device for Android has been selected.\
\nYou can change it as desired from the menu",
style="bold fg:green")
if mobile_os_name == "iOS":
mobile_os_version = "8.0"
device_name = "iPhone 6"
questionary.print("The default os version and device for iOS has been selected.\
\nYou can change it as desired from the menu",
style="bold fg:green")
return mobile_os_name, mobile_os_version, device_name
def get_mobile_os_version(mobile_os_name):
"Get mobile OS version"
if mobile_os_name == "Android":
mobile_os_version = questionary.select("Select the Mobile OS version",
choices=["6.0","7.0","7.1",
"8.0","8.1","9.0",
"Other versions"]).ask()
elif mobile_os_name == "iOS":
mobile_os_version = questionary.select("Select the Mobile OS version",
choices=["8.0","9.0","10.0","11.0",
"12.0","13.0","14.0",
"Other versions"]).ask()
if mobile_os_version == "Other versions":
mobile_os_version = questionary.text("Enter the OS version").ask()
return mobile_os_version
def get_sessionflag_status():
"Get the session flag status"
session_flag=questionary.select("Select the Session flag status",
choices=["True","False"]).ask()
if session_flag == "True":
session_flag = True
if session_flag == "False":
session_flag = False
return session_flag
def get_api_url():
"Get the API URL"
api_url = questionary.select("Select the API url",
choices=["localhost",
"http://35.167.62.251/",
"Enter the URL manually"]).ask()
if api_url == "localhost":
api_url = api_tests_conf.api_url
if api_url == "Enter the URL manually":
api_url = questionary.text("Enter the url").ask()
return api_url
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/testrail.py | #
# TestRail API binding for Python 3.x (API v2, available since
# TestRail 3.0)
# Compatible with TestRail 3.0 and later.
#
# Learn more:
#
# http://docs.gurock.com/testrail-api2/start
# http://docs.gurock.com/testrail-api2/accessing
#
# Copyright Gurock Software GmbH. See license.md for details.
#
import requests
import json
import base64
class APIClient:
def __init__(self, base_url):
self.user = ''
self.password = ''
if not base_url.endswith('/'):
base_url += '/'
self.__url = base_url + 'index.php?/api/v2/'
#
# Send Get
#
# Issues a GET request (read) against the API and returns the result
# (as Python dict) or filepath if successful file download
#
# Arguments:
#
# uri The API method to call including parameters
# (e.g. get_case/1)
#
# filepath The path and file name for attachment download
# Used only for 'get_attachment/:attachment_id'
#
def send_get(self, uri, filepath=None):
return self.__send_request('GET', uri, filepath)
#
# Send POST
#
# Issues a POST request (write) against the API and returns the result
# (as Python dict).
#
# Arguments:
#
# uri The API method to call including parameters
# (e.g. add_case/1)
# data The data to submit as part of the request (as
# Python dict, strings must be UTF-8 encoded)
# If adding an attachment, must be the path
# to the file
#
def send_post(self, uri, data):
return self.__send_request('POST', uri, data)
def __send_request(self, method, uri, data):
url = self.__url + uri
auth = str(
base64.b64encode(
bytes('%s:%s' % (self.user, self.password), 'utf-8')
),
'ascii'
).strip()
headers = {'Authorization': 'Basic ' + auth}
if method == 'POST':
if uri[:14] == 'add_attachment': # add_attachment API method
files = {'attachment': (open(data, 'rb'))}
response = requests.post(url, headers=headers, files=files)
files['attachment'].close()
else:
headers['Content-Type'] = 'application/json'
payload = bytes(json.dumps(data), 'utf-8')
response = requests.post(url, headers=headers, data=payload)
else:
headers['Content-Type'] = 'application/json'
response = requests.get(url, headers=headers)
if response.status_code > 201:
try:
error = response.json()
except: # response.content not formatted as JSON
error = str(response.content)
raise APIError('TestRail API returned HTTP %s (%s)' % (response.status_code, error))
else:
if uri[:15] == 'get_attachment/': # Expecting file, not JSON
try:
open(data, 'wb').write(response.content)
return (data)
except:
return ("Error saving attachment.")
else:
return response.json()
class APIError(Exception):
pass
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/excel_compare.py | """
Qxf2 Services: Utility script to compare two excel files using openxl module
"""
import openpyxl
import os
class Excel_Compare():
def is_equal(self,xl_actual,xl_expected):
"Method to compare the Actual and Expected xl file"
result_flag = True
if not os.path.exists(xl_actual):
result_flag = False
print('Could not locate the excel file: %s'%xl_actual)
if not os.path.exists(xl_expected):
result_flag = False
print('Could not locate the excel file %s'%xl_expected)
if os.path.exists(xl_actual) and os.path.exists(xl_expected):
#Open the xl file and put the content to list
actual_xlfile = openpyxl.load_workbook(xl_actual)
xl_sheet = actual_xlfile.active
actual_file = []
for row in xl_sheet.iter_rows(min_row=1, max_col=xl_sheet.max_column, max_row=xl_sheet.max_row):
for cell in row:
actual_file.append(cell.value)
exp_xlfile = openpyxl.load_workbook(xl_expected)
xl_sheet = exp_xlfile.active
exp_file = []
for row in xl_sheet.iter_rows(min_row=1, max_col=xl_sheet.max_column, max_row=xl_sheet.max_row):
for cell in row:
exp_file.append(cell.value)
#If there is row and column mismatch result_flag = False
if (len(actual_file)!= len(exp_file)):
result_flag = False
print("Mismatch in number of rows or columns. The actual row or column count didn't match with expected row or column count")
else:
for actual_row, actual_col in zip(actual_file,exp_file):
if actual_row == actual_col:
pass
else:
print("Mismatch between actual and expected file at position(each row consists of 23 coordinates):",actual_file.index(actual_row))
print("Data present only in Actual file: %s"%actual_row)
print("Data present only in Expected file: %s"%actual_col)
result_flag = False
return result_flag
#---USAGE EXAMPLES
if __name__=='__main__':
print("Start of %s"%__file__)
# Enter the path details of the xl files here
file1 = 'Add path to the first xl file'
file2 = 'Add path to the second xl file'
#Initialize the excel object
xl_obj = Excel_Compare()
#Sample code to compare excel files
if xl_obj.is_equal(file1,file2) is True:
print("Data matched in both the excel files\n")
else:
print("Data mismatch between the actual and expected excel files") | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Option_Parser.py | """
Class to wrap around parsing command line options
"""
import optparse
from conf import base_url_conf as conf
class Option_Parser:
"The option parser class"
def __init__(self,usage="\n----\n%prog -b <OPTIONAL: Browser> -c <OPTIONAL: configuration_file> -u <OPTIONAL: APP URL> -a <OPTIONAL: API URL> -r <Test Run Id> -t <OPTIONAL: testrail_configuration_file> -s <OPTIONAL: sauce flag>\n----\nE.g.: %prog -b FF -c .conf -u http://qxf2.com -r 2 -t testrail.conf -s Y\n---"):
"Class initializer"
self.usage=usage
self.parser=optparse.OptionParser()
self.set_standard_options()
def set_standard_options(self):
"Set options shared by all tests over here"
self.parser.add_option("-B","--browser",
dest="browser",
default="firefox",
help="Browser. Valid options are firefox, ie and chrome")
self.parser.add_option("-U","--app_url",
dest="url",
default=conf.base_url,
help="The url of the application")
self.parser.add_option("-A","--api_url",
dest="api_url",
default="http://35.167.62.251/",
help="The url of the api")
self.parser.add_option("-X","--testrail_flag",
dest="testrail_flag",
default='N',
help="Y or N. 'Y' if you want to report to TestRail")
self.parser.add_option("-R","--test_run_id",
dest="test_run_id",
default=None,
help="The test run id in TestRail")
self.parser.add_option("-M","--remote_flag",
dest="remote_flag",
default="N",
help="Run the test in remote flag: Y or N")
self.parser.add_option("-O","--os_version",
dest="os_version",
help="The operating system: xp, 7",
default="7")
self.parser.add_option("--ver",
dest="browser_version",
help="The version of the browser: a whole number",
default=45)
self.parser.add_option("-P","--os_name",
dest="os_name",
help="The operating system: Windows , Linux",
default="Windows")
self.parser.add_option("-G","--mobile_os_name",
dest="mobile_os_name",
help="Enter operating system of mobile. Ex: Android, iOS",
default="Android")
self.parser.add_option("-H","--mobile_os_version",
dest="mobile_os_version",
help="Enter version of operating system of mobile: 8.1.0",
default="6.0")
self.parser.add_option("-I","--device_name",
dest="device_name",
help="Enter device name. Ex: Emulator, physical device name",
default="Google Nexus 6")
self.parser.add_option("-J","--app_package",
dest="app_package",
help="Enter name of app package. Ex: bitcoininfo",
default="com.dudam.rohan.bitcoininfo")
self.parser.add_option("-K","--app_activity",
dest="app_activity",
help="Enter name of app activity. Ex: .MainActivity",
default=".MainActivity")
self.parser.add_option("-Q","--device_flag",
dest="device_flag",
help="Enter Y or N. 'Y' if you want to run the test on device. 'N' if you want to run the test on emulator.",
default="N")
self.parser.add_option("-D","--app_name",
dest="app_name",
help="Enter application name to be uploaded.Ex:Bitcoin Info_com.dudam.rohan.bitcoininfo.apk.",
default="Bitcoin Info_com.dudam.rohan.bitcoininfo.apk")
self.parser.add_option("-T","--tesults_flag",
dest="tesults_flag",
help="Enter Y or N. 'Y' if you want to report results with Tesults",
default="N")
self.parser.add_option("--ud_id",
dest="ud_id",
help="Enter your iOS device UDID which is required to run appium test in iOS device",
default=None)
self.parser.add_option("--org_id",
dest="org_id",
help="Enter your iOS Team ID which is required to run appium test in iOS device",
default=None)
self.parser.add_option("--signing_id",
dest="signing_id",
help="Enter your iOS app signing id which is required to run appium test in iOS device",
default="iPhone Developer")
self.parser.add_option("--no_reset_flag",
dest="no_reset_flag",
help="Pass false if you want to reset app eveytime you run app else false",
default="true")
self.parser.add_option("-N","--app_path",
dest="app_path",
help="Enter app path")
self.parser.add_option("--remote_project_name",
dest="remote_project_name",
help="The project name if its run in BrowserStack",
default=None)
self.parser.add_option("--remote_build_name",
dest="remote_build_name",
help="The build name if its run in BrowserStack",
default=None)
self.parser.add_option("--appium_version",
dest="appium_version",
help="The appium version if its run in Browserstack",
default="1.17.0")
def add_option(self,option_letter,option_word,dest,help_text):
"Add an option to our parser"
self.parser.add(option_letter,
option_word,
dest,
help=help_text)
def get_options(self):
"Get the command line arguments passed into the script"
options=self.parser.parse_args()
return options
def check_file_exists(self,file_path):
"Check if the config file exists and is a file"
self.conf_flag = True
if os.path.exists(file_path):
if not os.path.isfile(file_path):
print('\n****')
print('Config file provided is not a file: ')
print(file_path)
print('****')
self.conf_flag = False
else:
print('\n****')
print('Unable to locate the provided config file: ')
print(file_path)
print('****')
self.conf_flag = False
return self.conf_flag
def check_options(self,options):
"Check if the command line options are valid"
result_flag = True
if options.browser is not None:
result_flag &= True
else:
result_flag = False
print("Browser cannot be None. Use -B to specify a browser")
if options.url is not None:
result_flag &= True
else:
result_flag = False
print("Url cannot be None. Use -U to specify a url")
if options.api_url is not None:
result_flag &= True
else:
result_flag = False
print("API URL cannot be None. Use -A to specify a api url")
if options.remote_flag.lower() == 'y':
if options.browser_version is not None:
result_flag &= True
else:
result_flag = False
print("Browser version cannot be None. Use --ver to specify a browser version")
if options.os_name is not None:
result_flag &= True
else:
result_flag = False
print("The operating system cannot be None. Use -P to specify an OS")
if options.os_version is not None:
result_flag &= True
else:
result_flag = False
print("The OS version cannot be None. Use -O to specify an OS version")
# Options for appium mobile tests.
if options.mobile_os_name is not None:
result_flag &= True
else:
result_flag = False
print("The mobile operating system cannot be None. Use -G to specify an OS.")
if options.mobile_os_version is not None:
result_flag &= True
else:
result_flag = False
print("The mobile operating system version cannot be None. Use -H to specify an OS version.")
if options.device_name is not None:
result_flag &= True
else:
result_flag = False
print("The device name cannot be None. Use -I to specify device name.")
if options.app_package is not None:
result_flag &= True
else:
result_flag = False
print("The application package name cannot be None. Use -J to specify application package name.")
if options.app_activity is not None:
result_flag &= True
else:
result_flag = False
print("The application activity name cannot be None. Use -K to specify application activity name.")
if options.device_flag.lower() == 'n':
result_flag &= True
else:
result_flag = False
print("The device flag cannot be None. Use -Q to specify device flag.")
return result_flag
def print_usage(self):
"Print the option parser's usage string"
print(self.parser.print_usage())
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/axe.min.js | !function e(window){var document=window.document,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function c(e){this.name="SupportError",this.cause=e.cause,this.message="`"+e.cause+"` - feature unsupported in your environment.",e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping "+this.ruleId+" rule."),this.stack=(new Error).stack}(axe=axe||{}).version="3.1.1","function"==typeof define&&define.amd&&define("axe-core",[],function(){"use strict";return axe}),"object"===("undefined"==typeof module?"undefined":T(module))&&module.exports&&"function"==typeof e.toString&&(axe.source="("+e.toString()+')(typeof window === "object" ? window : this);',module.exports=axe),"function"==typeof window.getComputedStyle&&(window.axe=axe),(c.prototype=Object.create(Error.prototype)).constructor=c,axe.imports={};var utils=axe.utils={},i={},p=(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e});function t(e,t,r){"use strict";var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a])}function r(e){this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental"],this.defaultConfig=e,this._init(),this._defaultLocale=null}r.prototype._setDefaultLocale=function(){if(!this._defaultLocale){for(var e={checks:{},rules:{}},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var a=t[r],n=this.data.checks[a].messages,o=n.pass,i=n.fail,s=n.incomplete;e.checks[a]={pass:o,fail:i,incomplete:s}}for(var l=Object.keys(this.data.rules),u=0;u<l.length;u++){var c=l[u],d=this.data.rules[c],m=d.description,p=d.help;e.rules[c]={description:m,help:p}}this._defaultLocale=e}},r.prototype._resetLocale=function(){var e=this._defaultLocale;e&&this.applyLocale(e)};function f(n,e,o){var t=void 0,i=void 0;return o.performanceTimer&&(t="mark_rule_start_"+n.id,i="mark_rule_end_"+n.id,axe.utils.performanceTimer.mark(t)),function(r,a){n.run(e,o,function(e){o.performanceTimer&&(axe.utils.performanceTimer.mark(i),axe.utils.performanceTimer.measure("rule_"+n.id,t,i)),r(e)},function(e){if(o.debug)a(e);else{var t=Object.assign(new m(n),{result:axe.constants.CANTTELL,description:"An error occured while running this rule",message:e.message,stack:e.stack,error:e});r(t)}})}}function o(e,t,r){var a=e.brand,n=e.application;return axe.constants.helpUrlBase+a+"/"+(r||axe.version.substring(0,axe.version.lastIndexOf(".")))+"/"+t+"?application="+n}function d(e){"use strict";this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null}function a(e){"use strict";return"string"==typeof e?new Function("return "+e+";")():e}function n(e){e&&(this.id=e.id,this.configure(e))}r.prototype._applyCheckLocale=function(e){for(var t,r,a,n,o=Object.keys(e),i=0;i<o.length;i++){var s=o[i];if(!this.data.checks[s])throw new Error('Locale provided for unknown check: "'+s+'"');this.data.checks[s]=(t=this.data.checks[s],r=e[s],n=a=void 0,a=r.pass,n=r.fail,"string"==typeof a&&(a=axe.imports.doT.compile(a)),"string"==typeof n&&(n=axe.imports.doT.compile(n)),p({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:"object"===T(t.messages.incomplete)?p({},t.messages.incomplete,r.incomplete):r.incomplete}}))}},r.prototype._applyRuleLocale=function(e){for(var t,r,a,n,o=Object.keys(e),i=0;i<o.length;i++){var s=o[i];if(!this.data.rules[s])throw new Error('Locale provided for unknown rule: "'+s+'"');this.data.rules[s]=(t=this.data.rules[s],r=e[s],n=a=void 0,a=r.help,n=r.description,"string"==typeof a&&(a=axe.imports.doT.compile(a)),"string"==typeof n&&(n=axe.imports.doT.compile(n)),p({},t,{help:a||t.help,description:n||t.description}))}},r.prototype.applyLocale=function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules)},r.prototype._init=function(){var e=function(e){"use strict";var t;return e?(t=axe.utils.clone(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.rules=t.rules||[],t.checks=t.checks||[],t.data=p({checks:{},rules:{}},t.data),t}(this.defaultConfig);axe.commons=e.commons,this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},t(e.rules,this,"addRule"),t(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()},r.prototype.registerCommand=function(e){"use strict";this.commands[e.id]=e.callback},r.prototype.addRule=function(e){"use strict";e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new h(e,this))},r.prototype.addCheck=function(e){"use strict";var t=e.metadata;"object"===(void 0===t?"undefined":T(t))&&(this.data.checks[e.id]=t,"object"===T(t.messages)&&Object.keys(t.messages).filter(function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]}).forEach(function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())})),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new n(e)},r.prototype.run=function(o,i,s,l){"use strict";this.normalizeOptions(i),axe._selectCache=[];var e,r,a,t=(e=this.rules,r=o,a=i,e.reduce(function(e,t){return axe.utils.ruleShouldRun(t,r,a)&&(t.preload?e.later.push(t):e.now.push(t)),e},{now:[],later:[]})),n=t.now,u=t.later,c=axe.utils.queue();n.forEach(function(e){c.defer(f(e,o,i))});var d=axe.utils.queue();u.length&&d.defer(function(r,e){axe.utils.preload(i).then(function(e){var t=e[0];r(t)}).catch(function(e){console.warn("Couldn't load preload assets: ",e);r(void 0)})});var m=axe.utils.queue();m.defer(c),m.defer(d),m.then(function(e){var t=e.pop();if(t&&t.length){var r=t[0];r&&(o=p({},o,r))}var a=e[0];if(!u.length)return axe._selectCache=void 0,void s(a.filter(function(e){return!!e}));var n=axe.utils.queue();u.forEach(function(e){var t=f(e,o,i);n.defer(t)}),n.then(function(e){axe._selectCache=void 0,s(a.concat(e).filter(function(e){return!!e}))}).catch(l)}).catch(l)},r.prototype.after=function(e,r){"use strict";var a=this.rules;return e.map(function(e){var t=axe.utils.findBy(a,"id",e.id);if(!t)throw new Error("Result for unknown rule. You may be running mismatch aXe-core versions");return t.after(e,r)})},r.prototype.getRule=function(t){return this.rules.find(function(e){return e.id===t})},r.prototype.normalizeOptions=function(e){"use strict";var t=this;if("object"===T(e.runOnly)){Array.isArray(e.runOnly)&&(e.runOnly={type:"tag",values:e.runOnly});var r=e.runOnly;if(r.value&&!r.values&&(r.values=r.value,delete r.value),!Array.isArray(r.values)||0===r.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(r.type))r.type="rule",r.values.forEach(function(e){if(!t.getRule(e))throw new Error("unknown rule `"+e+"` in options.runOnly")});else{if(!["tag","tags",void 0].includes(r.type))throw new Error("Unknown runOnly type '"+r.type+"'");r.type="tag";var a=t.rules.reduce(function(e,t){return e.length?e.filter(function(e){return!t.tags.includes(e)}):e},r.values);if(0!==a.length)throw new Error("Could not find tags `"+a.join("`, `")+"`")}}return"object"===T(e.rules)&&Object.keys(e.rules).forEach(function(e){if(!t.getRule(e))throw new Error("unknown rule `"+e+"` in options.rules")}),e},r.prototype.setBranding=function(e){"use strict";var t={brand:this.brand,application:this.application};e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)},r.prototype._constructHelpUrls=function(){var r=this,a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=(axe.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(e){r.data.rules[e.id]||(r.data.rules[e.id]={});var t=r.data.rules[e.id];("string"!=typeof t.helpUrl||a&&t.helpUrl===o(a,e.id,n))&&(t.helpUrl=o(r,e.id,n))})},r.prototype.resetRulesAndChecks=function(){"use strict";this._init(),this._resetLocale()},n.prototype.enabled=!0,n.prototype.run=function(e,t,r,a,n){"use strict";var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=t.options||this.options;if(o){var s,l=new d(this),u=axe.utils.checkHelper(l,t,a,n);try{s=this.evaluate.call(u,e.actualNode,i,e,r)}catch(e){return void n(e)}u.isAsync||(l.result=s,setTimeout(function(){a(l)},0))}else a(null)},n.prototype.configure=function(t){var r=this;["options","enabled"].filter(function(e){return t.hasOwnProperty(e)}).forEach(function(e){return r[e]=t[e]}),["evaluate","after"].filter(function(e){return t.hasOwnProperty(e)}).forEach(function(e){return r[e]=a(t[e])})};T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function s(e,t,r){"use strict";var a,n;e.frames=e.frames||[];var o=document.querySelectorAll(r.shift());e:for(var i=0,s=o.length;i<s;i++){n=o[i];for(var l=0,u=e.frames.length;l<u;l++)if(e.frames[l].node===n){e.frames[l][t].push(r);break e}a={node:n,include:[],exclude:[]},r&&a[t].push(r),e.frames.push(a)}}function l(t,e){"use strict";for(var r,a,n=[],o=0,i=t[e].length;o<i;o++){if("string"==typeof(r=t[e][o])){a=Array.from(document.querySelectorAll(r)),n=n.concat(a.map(function(e){return axe.utils.getNodeFromTree(t.flatTree[0],e)}));break}!r||!r.length||r instanceof Node?r instanceof Node&&(r.documentElement instanceof Node?n.push(t.flatTree[0]):n.push(axe.utils.getNodeFromTree(t.flatTree[0],r))):1<r.length?s(t,e,r):(a=Array.from(document.querySelectorAll(r[0])),n=n.concat(a.map(function(e){return axe.utils.getNodeFromTree(t.flatTree[0],e)})))}return n.filter(function(e){return e})}function u(e){"use strict";var t,r,a,n=this;this.frames=[],this.initiator=!e||"boolean"!=typeof e.initiator||e.initiator,this.page=!1,e=function(e){if(e&&"object"===(void 0===e?"undefined":T(e))||e instanceof NodeList){if(e instanceof Node)return{include:[e],exclude:[]};if(e.hasOwnProperty("include")||e.hasOwnProperty("exclude"))return{include:e.include&&+e.include.length?e.include:[document],exclude:e.exclude||[]};if(e.length===+e.length)return{include:e,exclude:[]}}return"string"==typeof e?{include:[e],exclude:[]}:{include:[document],exclude:[]}}(e),this.flatTree=axe.utils.getFlattenedTree((r=(t=e).include,a=t.exclude,(Array.from(r).concat(Array.from(a)).reduce(function(e,t){return e||(t instanceof Element?t.ownerDocument:t instanceof Document?t:void 0)},null)||document).documentElement)),this.exclude=e.exclude,this.include=e.include,this.include=l(this,"include"),this.exclude=l(this,"exclude"),axe.utils.select("frame, iframe",this).forEach(function(e){var t,r;ve(e,n)&&(t=n.frames,r=e.actualNode,axe.utils.isHidden(r)||axe.utils.findBy(t,"node",r)||t.push({node:r,include:[],exclude:[]}))}),1===this.include.length&&this.include[0].actualNode===document.documentElement&&(this.page=!0);var o=function(e){if(0===e.include.length){if(0===e.frames.length){var t=axe.utils.respondable.isInFrame()?"frame":"page";return new Error("No elements found for include in "+t+" Context")}e.frames.forEach(function(e,t){if(0===e.include.length)return new Error("No elements found for include in Context of frame "+t)})}}(this);if(o instanceof Error)throw o;Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(axe.utils.nodeSorter)}function m(e){"use strict";this.id=e.id,this.result=axe.constants.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]}function h(e,t){"use strict";this._audit=t,this.id=e.id,this.selector=e.selector||"*",this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,e.matches&&(this.matches=a(e.matches))}h.prototype.matches=function(){"use strict";return!0},h.prototype.gather=function(e){"use strict";var t=axe.utils.select(this.selector,e);return this.excludeHidden?t.filter(function(e){return!axe.utils.isHidden(e.actualNode)}):t},h.prototype.runChecks=function(t,n,o,i,r,e){"use strict";var s=this,l=axe.utils.queue();this[t].forEach(function(e){var r=s._audit.checks[e.id||e],a=axe.utils.getCheckOption(r,s.id,o);l.defer(function(e,t){r.run(n,a,i,e,t)})}),l.then(function(e){e=e.filter(function(e){return e}),r({type:t,results:e})}).catch(e)},h.prototype.run=function(a,o,e,t){var i=this,r=axe.utils.queue(),s=new m(this),n="mark_runchecks_start_"+this.id,l="mark_runchecks_end_"+this.id,u=void 0;try{u=this.gather(a).filter(function(e){return i.matches(e.actualNode,e)})}catch(e){return void t(new c({cause:e,ruleId:this.id}))}o.performanceTimer&&(axe.log("gather (",u.length,"):",axe.utils.performanceTimer.timeElapsed()+"ms"),axe.utils.performanceTimer.mark(n)),u.forEach(function(n){r.defer(function(t,r){var e=axe.utils.queue();["any","all","none"].forEach(function(r){e.defer(function(e,t){i.runChecks(r,n,o,a,e,t)})}),e.then(function(e){if(e.length){var r=!1,a={};e.forEach(function(e){var t=e.results.filter(function(e){return e});(a[e.type]=t).length&&(r=!0)}),r&&(a.node=new axe.utils.DqElement(n.actualNode,o),s.nodes.push(a))}t()}).catch(function(e){return r(e)})})}),o.performanceTimer&&(axe.utils.performanceTimer.mark(l),axe.utils.performanceTimer.measure("runchecks_"+this.id,n,l)),r.then(function(){return e(s)}).catch(function(e){return t(e)})},h.prototype.after=function(s,l){"use strict";var r,e,a,t,n=(r=this,axe.utils.getAllChecks(r).map(function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null}).filter(Boolean)),u=this.id;return n.forEach(function(e){var t,r,a,n=(t=s.nodes,r=e.id,a=[],t.forEach(function(e){axe.utils.getAllChecks(e).forEach(function(e){e.id===r&&a.push(e)})}),a),o=axe.utils.getCheckOption(e,u,l),i=e.after(n,o);n.forEach(function(e){-1===i.indexOf(e)&&(e.filtered=!0)})}),s.nodes=(a=["any","all","none"],t=(e=s).nodes.filter(function(t){var r=0;return a.forEach(function(e){t[e]=t[e].filter(function(e){return!0!==e.filtered}),r+=t[e].length}),0<r}),e.pageLevel&&t.length&&(t=[t.reduce(function(t,r){if(t)return a.forEach(function(e){t[e].push.apply(t[e],r[e])}),t})]),t),s},h.prototype.configure=function(e){"use strict";e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("matches")&&("string"==typeof e.matches?this.matches=new Function("return "+e.matches+";")():this.matches=e.matches)},function(axe){var o={helpUrlBase:"https://dequeuniversity.com/rules/",results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preloadAssets:Object.freeze(["cssom"]),preloadAssetsTimeout:1e4};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;o[t]=r,o[t+"_PRIO"]=a,o[t+"_GROUP"]=n,o.results[a]=r,o.resultGroups[a]=n,o.resultGroupMap[r]=n}),Object.freeze(o.results),Object.freeze(o.resultGroups),Object.freeze(o.resultGroupMap),Object.freeze(o),Object.defineProperty(axe,"constants",{value:o,enumerable:!0,configurable:!1,writable:!1})}(axe);T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};axe.imports.axios=function(r){var a={};function n(e){if(a[e])return a[e].exports;var t=a[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}return n.m=r,n.c=a,n.p="",n(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";var utils=r(2),a=r(3),n=r(5),o=r(6);function i(e){var t=new n(e),r=a(n.prototype.request,t);return utils.extend(r,n.prototype,t),utils.extend(r,t),r}var s=i(o);s.Axios=n,s.create=function(e){return i(utils.merge(o,e))},s.Cancel=r(23),s.CancelToken=r(24),s.isCancel=r(20),s.all=function(e){return Promise.all(e)},s.spread=r(25),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(3),a=r(4),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"===(void 0===e?"undefined":T(e))}function l(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!==(void 0===e?"undefined":T(e))&&(e=[e]),i(e))for(var r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:a,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&void 0!==window&&void 0!==document},forEach:u,merge:function r(){var a={};function e(e,t){"object"===T(a[t])&&"object"===(void 0===e?"undefined":T(e))?a[t]=r(a[t],e):a[t]=e}for(var t=0,n=arguments.length;t<n;t++)u(arguments[t],e);return a},extend:function(r,e,a){return u(e,function(e,t){r[t]=a&&"function"==typeof e?n(e,a):e}),r},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t){"use strict";e.exports=function(r,a){return function(){for(var e=new Array(arguments.length),t=0;t<e.length;t++)e[t]=arguments[t];return r.apply(a,e)}}},function(e,t){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(r(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&r(t.slice(0,0))||!!e._isBuffer);var t}},function(e,t,r){"use strict";var a=r(6),utils=r(2),n=r(17),o=r(18);function i(e){this.defaults=e,this.interceptors={request:new n,response:new n}}i.prototype.request=function(e){"string"==typeof e&&(e=utils.merge({url:arguments[0]},arguments[1])),(e=utils.merge(a,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[o,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},utils.forEach(["delete","get","head","options"],function(r){i.prototype[r]=function(e,t){return this.request(utils.merge(t||{},{method:r,url:e}))}}),utils.forEach(["post","put","patch"],function(a){i.prototype[a]=function(e,t,r){return this.request(utils.merge(r||{},{method:a,url:e,data:t}))}}),e.exports=i},function(e,t,r){"use strict";var utils=r(2),a=r(7),n={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!utils.isUndefined(e)&&utils.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i,s={adapter:("undefined"!=typeof XMLHttpRequest?i=r(8):"undefined"!=typeof process&&(i=r(8)),i),transformRequest:[function(e,t){return a(t,"Content-Type"),utils.isFormData(e)||utils.isArrayBuffer(e)||utils.isBuffer(e)||utils.isStream(e)||utils.isFile(e)||utils.isBlob(e)?e:utils.isArrayBufferView(e)?e.buffer:utils.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):utils.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils.forEach(["delete","get","head"],function(e){s.headers[e]={}}),utils.forEach(["post","put","patch"],function(e){s.headers[e]=utils.merge(n)}),e.exports=s},function(e,t,r){"use strict";var utils=r(2);e.exports=function(r,a){utils.forEach(r,function(e,t){t!==a&&t.toUpperCase()===a.toUpperCase()&&(r[a]=e,delete r[t])})}},function(e,t,m){"use strict";var utils=m(2),p=m(9),f=m(12),h=m(13),g=m(14),b=m(10),y=void 0!==window&&window.btoa&&window.btoa.bind(window)||m(15);e.exports=function(d){return new Promise(function(r,a){var n=d.data,o=d.headers;utils.isFormData(n)&&delete o["Content-Type"];var i=new XMLHttpRequest,e="onreadystatechange",s=!1;if(void 0===window||!window.XDomainRequest||"withCredentials"in i||g(d.url)||(i=new window.XDomainRequest,e="onload",s=!0,i.onprogress=function(){},i.ontimeout=function(){}),d.auth){var t=d.auth.username||"",l=d.auth.password||"";o.Authorization="Basic "+y(t+":"+l)}if(i.open(d.method.toUpperCase(),f(d.url,d.params,d.paramsSerializer),!0),i.timeout=d.timeout,i[e]=function(){if(i&&(4===i.readyState||s)&&(0!==i.status||i.responseURL&&0===i.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in i?h(i.getAllResponseHeaders()):null,t={data:d.responseType&&"text"!==d.responseType?i.response:i.responseText,status:1223===i.status?204:i.status,statusText:1223===i.status?"No Content":i.statusText,headers:e,config:d,request:i};p(r,a,t),i=null}},i.onerror=function(){a(b("Network Error",d,null,i)),i=null},i.ontimeout=function(){a(b("timeout of "+d.timeout+"ms exceeded",d,"ECONNABORTED",i)),i=null},utils.isStandardBrowserEnv()){var u=m(16),c=(d.withCredentials||g(d.url))&&d.xsrfCookieName?u.read(d.xsrfCookieName):void 0;c&&(o[d.xsrfHeaderName]=c)}if("setRequestHeader"in i&&utils.forEach(o,function(e,t){void 0===n&&"content-type"===t.toLowerCase()?delete o[t]:i.setRequestHeader(t,e)}),d.withCredentials&&(i.withCredentials=!0),d.responseType)try{i.responseType=d.responseType}catch(e){if("json"!==d.responseType)throw e}"function"==typeof d.onDownloadProgress&&i.addEventListener("progress",d.onDownloadProgress),"function"==typeof d.onUploadProgress&&i.upload&&i.upload.addEventListener("progress",d.onUploadProgress),d.cancelToken&&d.cancelToken.promise.then(function(e){i&&(i.abort(),a(e),i=null)}),void 0===n&&(n=null),i.send(n)})}},function(e,t,r){"use strict";var n=r(10);e.exports=function(e,t,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var i=r(11);e.exports=function(e,t,r,a,n){var o=new Error(e);return i(o,t,r,a,n)}},function(e,t){"use strict";e.exports=function(e,t,r,a,n){return e.config=t,r&&(e.code=r),e.request=a,e.response=n,e}},function(e,t,r){"use strict";var utils=r(2);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(utils.isURLSearchParams(t))a=t.toString();else{var n=[];utils.forEach(t,function(e,t){null!=e&&(utils.isArray(e)?t+="[]":e=[e],utils.forEach(e,function(e){utils.isDate(e)?e=e.toISOString():utils.isObject(e)&&(e=JSON.stringify(e)),n.push(o(t)+"="+o(e))}))}),a=n.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},function(e,t,r){"use strict";var utils=r(2),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,n={};return e&&utils.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=utils.trim(e.substr(0,a)).toLowerCase(),r=utils.trim(e.substr(a+1)),t){if(n[t]&&0<=o.indexOf(t))return;n[t]="set-cookie"===t?(n[t]?n[t]:[]).concat([r]):n[t]?n[t]+", "+r:r}}),n}},function(e,t,r){"use strict";var utils=r(2);e.exports=utils.isStandardBrowserEnv()?function(){var r,a=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var t=e;return a&&(n.setAttribute("href",t),t=n.href),n.setAttribute("href",t),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(e){var t=utils.isString(e)?o(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0}},function(e,t){"use strict";function s(){this.message="String contains an invalid character"}(s.prototype=new Error).code=5,s.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,r,a=String(e),n="",o=0,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.charAt(0|o)||(i="=",o%1);n+=i.charAt(63&t>>8-o%1*8)){if(255<(r=a.charCodeAt(o+=.75)))throw new s;t=t<<8|r}return n}},function(e,t,r){"use strict";var utils=r(2);e.exports=utils.isStandardBrowserEnv()?{write:function(e,t,r,a,n,o){var i=[];i.push(e+"="+encodeURIComponent(t)),utils.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),utils.isString(a)&&i.push("path="+a),utils.isString(n)&&i.push("domain="+n),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var utils=r(2);function a(){this.handlers=[]}a.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(t){utils.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=a},function(e,t,r){"use strict";var utils=r(2),a=r(19),n=r(20),o=r(6),i=r(21),s=r(22);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(t){return l(t),t.baseURL&&!i(t.url)&&(t.url=s(t.baseURL,t.url)),t.headers=t.headers||{},t.data=a(t.data,t.headers,t.transformRequest),t.headers=utils.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),utils.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||o.adapter)(t).then(function(e){return l(t),e.data=a(e.data,e.headers,t.transformResponse),e},function(e){return n(e)||(l(t),e&&e.response&&(e.response.data=a(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,r){"use strict";var utils=r(2);e.exports=function(t,r,e){return utils.forEach(e,function(e){t=e(t,r)}),t}},function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,r){"use strict";var a=r(23);function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new a(e),t(r.reason))})}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(e){t=e}),cancel:t}},e.exports=n},function(e,t){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}}]),axe.imports.doT=function(e,t,r,a,n){var o=Function("return this")(),i=o.doT;!function(){"use strict";var l,u={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};u.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,function(e){return t[e]||e}):""}},(l=function(){return this||(0,eval)("this")}()).doT=u;var c={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},d=/$^/;function m(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}u.template=function(e,t,r){var a,n,o=(t=t||u.templateSettings).append?c.append:c.split,i=0,s=t.use||t.define?function a(n,e,o){return("string"==typeof e?e:e.toString()).replace(n.define||d,function(e,a,t,r){return 0===a.indexOf("def.")&&(a=a.substring(4)),a in o||(":"===t?(n.defineParams&&r.replace(n.defineParams,function(e,t,r){o[a]={arg:t,text:r}}),a in o||(o[a]=r)):new Function("def","def['"+a+"']="+r)(o)),""}).replace(n.use||d,function(e,t){n.useParams&&(t=t.replace(n.useParams,function(e,t,r,a){if(o[r]&&o[r].arg&&a){var n=(r+":"+a).replace(/'|\\/g,"_");return o.__exp=o.__exp||{},o.__exp[n]=o[r].text.replace(new RegExp("(^|[^\\w$])"+o[r].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+n+"']"}}));var r=new Function("def","return "+t)(o);return r?a(n,r,o):r})}(t,e,r||{}):e;s=("var out='"+(t.strip?s.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):s).replace(/'|\\/g,"\\$&").replace(t.interpolate||d,function(e,t){return o.start+m(t)+o.end}).replace(t.encode||d,function(e,t){return a=!0,o.startencode+m(t)+o.end}).replace(t.conditional||d,function(e,t,r){return t?r?"';}else if("+m(r)+"){out+='":"';}else{out+='":r?"';if("+m(r)+"){out+='":"';}out+='"}).replace(t.iterate||d,function(e,t,r,a){return t?(i+=1,n=a||"i"+i,t=m(t),"';var arr"+i+"="+t+";if(arr"+i+"){var "+r+","+n+"=-1,l"+i+"=arr"+i+".length-1;while("+n+"<l"+i+"){"+r+"=arr"+i+"["+n+"+=1];out+='"):"';} } out+='"}).replace(t.evaluate||d,function(e,t){return"';"+m(t)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!l||l._encodeHTML||(l._encodeHTML=u.encodeHTMLSource(t.doNotSkipEncoded)),s="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+u.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+s);try{return new Function(t.varname,s)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+s),e}},u.compile=function(e,t){return u.template(e,null,t)}}();var s=o.doT;return delete o.doT,i&&(o.doT=i),s}();T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function g(t,r){"use strict";if(t=t||function(){},r=r||axe.log,!axe._audit)throw new Error("No audit configured");var a=axe.utils.queue(),n=[];Object.keys(axe.plugins).forEach(function(e){a.defer(function(t){var r=function(e){n.push(e),t()};try{axe.plugins[e].cleanup(t,r)}catch(e){r(e)}})});var e=axe.utils.getFlattenedTree(document.body);axe.utils.querySelectorAll(e,"iframe, frame").forEach(function(r){a.defer(function(e,t){return axe.utils.sendCommandToFrame(r.actualNode,{command:"cleanup-plugin"},e,t)})}),a.then(function(e){0===n.length?t(e):r(n)}).catch(r)}function b(e,t,r){"use strict";var a=r,n=function(e){e instanceof Error==!1&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[document]);var i=e&&e.options||{};switch(e.command){case"rules":return x(o,i,function(e,t){a(e),t()},n);case"cleanup-plugin":return g(a,n);default:if(axe._audit&&axe._audit.commands&&axe._audit.commands[e.command])return axe._audit.commands[e.command](e,r)}}function y(e){"use strict";this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(e){axe._audit.registerCommand(e)})}axe.log=function(){"use strict";"object"===("undefined"==typeof console?"undefined":T(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},axe.cleanup=g,axe.configure=function(e){"use strict";var t;if(!(t=axe._audit))throw new Error("No audit configured");e.reporter&&("function"==typeof e.reporter||w[e.reporter])&&(t.reporter=e.reporter),e.checks&&e.checks.forEach(function(e){t.addCheck(e)});var r=[];e.rules&&e.rules.forEach(function(e){r.push(e.id),t.addRule(e)}),e.disableOtherRules&&t.rules.forEach(function(e){!1===r.includes(e.id)&&(e.enabled=!1)}),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale)},axe.getRules=function(e){"use strict";var t=(e=e||[]).length?axe._audit.rules.filter(function(t){return!!e.filter(function(e){return-1!==t.tags.indexOf(e)}).length}):axe._audit.rules,r=axe._audit.data.rules||{};return t.map(function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags}})},axe._load=function(e){"use strict";axe.utils.respondable.subscribe("axe.ping",function(e,t,r){r({axe:!0})}),axe.utils.respondable.subscribe("axe.start",b),axe._audit=new r(e)},(axe=axe||{}).plugins={},y.prototype.run=function(){"use strict";return this._run.apply(this,arguments)},y.prototype.collect=function(){"use strict";return this._collect.apply(this,arguments)},y.prototype.cleanup=function(e){"use strict";var r=axe.utils.queue(),a=this;Object.keys(this._registry).forEach(function(t){r.defer(function(e){a._registry[t].cleanup(e)})}),r.then(function(){e()})},y.prototype.add=function(e){"use strict";this._registry[e.id]=e},axe.registerPlugin=function(e){"use strict";axe.plugins[e.id]=new y(e)};var v,w={};function k(){axe._tree=void 0,axe._selectorData=void 0}function x(r,a,n,o){"use strict";try{r=new u(r),axe._tree=r.flatTree,axe._selectorData=axe.utils.getSelectorData(r.flatTree)}catch(e){return k(),o(e)}var e=axe.utils.queue(),i=axe._audit;a.performanceTimer&&axe.utils.performanceTimer.auditStart(),r.frames.length&&!1!==a.iframes&&e.defer(function(e,t){axe.utils.collectResultsFromFrames(r,a,"rules",null,e,t)});var s=void 0;e.defer(function(e,t){a.restoreScroll&&(s=axe.utils.getScrollState()),i.run(r,a,e,t)}),e.then(function(e){try{s&&axe.utils.setScrollState(s),a.performanceTimer&&axe.utils.performanceTimer.auditEnd();var t=axe.utils.mergeResults(e.map(function(e){return{results:e}}));r.initiator&&((t=i.after(t,a)).forEach(axe.utils.publishMetaData),t=t.map(axe.utils.finalizeRuleResult));try{n(t,k)}catch(e){k(),axe.log(e)}}catch(e){k(),o(e)}}).catch(function(e){k(),o(e)})}axe.getReporter=function(e){"use strict";return"string"==typeof e&&w[e]?w[e]:"function"==typeof e?e:v},axe.addReporter=function(e,t,r){"use strict";w[e]=t,r&&(v=t)},axe.reset=function(){"use strict";var e=axe._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks()},axe._runRules=x;T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var E=function(){};function A(e,t,r){"use strict";var a=new TypeError("axe.run arguments are invalid");if(!function(e){switch(!0){case"string"==typeof e:case Array.isArray(e):case Node&&e instanceof Node:case NodeList&&e instanceof NodeList:return!0;case"object"!==(void 0===e?"undefined":T(e)):return!1;case void 0!==e.include:case void 0!==e.exclude:case"number"==typeof e.length:return!0;default:return!1}}(e)){if(void 0!==r)throw a;r=t,t=e,e=document}if("object"!==(void 0===t?"undefined":T(t))){if(void 0!==r)throw a;r=t,t={}}if("function"!=typeof r&&void 0!==r)throw a;return{context:e,options:t,callback:r||E}}axe.run=function(e,n,o){"use strict";if(!axe._audit)throw new Error("No audit configured");var t=A(e,n,o);e=t.context,n=t.options,o=t.callback,n.reporter=n.reporter||axe._audit.reporter||"v1",n.performanceTimer&&axe.utils.performanceTimer.start();var r=void 0,i=E,s=E;return"function"==typeof Promise&&o===E&&(r=new Promise(function(e,t){i=t,s=e})),axe._runRules(e,n,function(e,t){var r=function(e){t();try{o(null,e)}catch(e){axe.log(e)}s(e)};n.performanceTimer&&axe.utils.performanceTimer.end();try{var a=axe.getReporter(n.reporter)(e,n,r);void 0!==a&&r(a)}catch(e){t(),o(e),i(e)}},function(e){o(e),i(e)}),r},i.failureSummary=function(e){"use strict";var r={};return r.none=e.none.concat(e.all),r.any=e.any,Object.keys(r).map(function(e){if(r[e].length){var t=axe._audit.data.failureSummaries[e];return t&&"function"==typeof t.failureMessage?t.failureMessage(r[e].map(function(e){return e.message||""})):void 0}}).filter(function(e){return void 0!==e}).join("\n\n")},i.incompleteFallbackMessage=function(){"use strict";return axe._audit.data.incompleteFallbackMessage()};T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var N=axe.constants.resultGroups;i.processAggregate=function(e,r){var t=axe.utils.aggregateResult(e);return t.timestamp=(new Date).toISOString(),t.url=window.location.href,N.forEach(function(e){r.resultTypes&&!r.resultTypes.includes(e)&&(t[e]||[]).forEach(function(e){Array.isArray(e.nodes)&&0<e.nodes.length&&(e.nodes=[e.nodes[0]])}),t[e]=(t[e]||[]).map(function(t){return t=Object.assign({},t),Array.isArray(t.nodes)&&0<t.nodes.length&&(t.nodes=t.nodes.map(function(e){return"object"===T(e.node)&&(e.html=e.node.source,r.elementRef&&!e.node.fromFrame&&(e.element=e.node.element),(!1!==r.selectors||e.node.fromFrame)&&(e.target=e.node.selector),r.xpath&&(e.xpath=e.node.xpath)),delete e.result,delete e.node,function(t,r){"use strict";["any","all","none"].forEach(function(e){Array.isArray(t[e])&&t[e].filter(function(e){return Array.isArray(e.relatedNodes)}).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){var t={html:e.source};return r.elementRef&&!e.fromFrame&&(t.element=e.element),(!1!==r.selectors||e.fromFrame)&&(t.target=e.selector),r.xpath&&(t.xpath=e.xpath),t})})})}(e,r),e})),N.forEach(function(e){return delete t[e]}),delete t.pageLevel,delete t.result,t})}),t},axe.addReporter("na",function(e,t,r){"use strict";"function"==typeof t&&(r=t,t={});var a=i.processAggregate(e,t);r({violations:a.violations,passes:a.passes,incomplete:a.incomplete,inapplicable:a.inapplicable,timestamp:a.timestamp,url:a.url})}),axe.addReporter("no-passes",function(e,t,r){"use strict";"function"==typeof t&&(r=t,t={}),t.resultTypes=["violations"];var a=i.processAggregate(e,t);r({violations:a.violations,timestamp:a.timestamp,url:a.url})}),axe.addReporter("raw",function(e,t,r){"use strict";"function"==typeof t&&(r=t,t={}),r(e)}),axe.addReporter("v1",function(e,t,r){"use strict";"function"==typeof t&&(r=t,t={});var a=i.processAggregate(e,t);a.violations.forEach(function(e){return e.nodes.forEach(function(e){e.failureSummary=i.failureSummary(e)})}),r({violations:a.violations,passes:a.passes,incomplete:a.incomplete,inapplicable:a.inapplicable,timestamp:a.timestamp,url:a.url})}),axe.addReporter("v2",function(e,t,r){"use strict";"function"==typeof t&&(r=t,t={});var a=i.processAggregate(e,t);r({violations:a.violations,passes:a.passes,incomplete:a.incomplete,inapplicable:a.inapplicable,timestamp:a.timestamp,url:a.url})},!0),axe.utils.aggregate=function(t,e,r){e=e.slice(),r&&e.push(r);var a=e.map(function(e){return t.indexOf(e)}).sort();return t[a.pop()]};var j=axe.constants,z=j.CANTTELL_PRIO,q=j.FAIL_PRIO,S=[];S[axe.constants.PASS_PRIO]=!0,S[axe.constants.CANTTELL_PRIO]=null,S[axe.constants.FAIL_PRIO]=!1;var C=["any","all","none"];function R(r,a){return C.reduce(function(e,t){return e[t]=(r[t]||[]).map(function(e){return a(e,t)}),e},{})}function I(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),axe.constants.resultGroups.forEach(function(e){delete a[e]}),e[r].push(a)}axe.utils.aggregateChecks=function(e){var r=Object.assign({},e);R(r,function(e,t){var r=void 0===e.result?-1:S.indexOf(e.result);e.priority=-1!==r?r:axe.constants.CANTTELL_PRIO,"none"===t&&(e.priority===axe.constants.PASS_PRIO?e.priority=axe.constants.FAIL_PRIO:e.priority===axe.constants.FAIL_PRIO&&(e.priority=axe.constants.PASS_PRIO))});var a={all:r.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:r.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:r.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4};r.priority=Math.max(a.all,a.none,a.any);var n=[];return C.forEach(function(t){r[t]=r[t].filter(function(e){return e.priority===r.priority&&e.priority===a[t]}),r[t].forEach(function(e){return n.push(e.impact)})}),[z,q].includes(r.priority)?r.impact=axe.utils.aggregate(axe.constants.impact,n):r.impact=null,R(r,function(e){delete e.result,delete e.priority}),r.result=axe.constants.results[r.priority],delete r.priority,r},axe.utils.aggregateNodeResults=function(e){var r={};if((e=e.map(function(e){if(e.any&&e.all&&e.none)return axe.utils.aggregateChecks(e);if(Array.isArray(e.node))return axe.utils.finalizeRuleResult(e);throw new TypeError("Invalid Result type")}))&&e.length){var t=e.map(function(e){return e.result});r.result=axe.utils.aggregate(axe.constants.results,t,r.result)}else r.result="inapplicable";axe.constants.resultGroups.forEach(function(e){return r[e]=[]}),e.forEach(function(e){var t=axe.constants.resultGroupMap[e.result];r[t].push(e)});var a=axe.constants.FAIL_GROUP;if(0===r[a].length&&(a=axe.constants.CANTTELL_GROUP),0<r[a].length){var n=r[a].map(function(e){return e.impact});r.impact=axe.utils.aggregate(axe.constants.impact,n)||null}else r.impact=null;return r},axe.utils.aggregateResult=function(e){var r={};return axe.constants.resultGroups.forEach(function(e){return r[e]=[]}),e.forEach(function(t){t.error?I(r,t,axe.constants.CANTTELL_GROUP):t.result===axe.constants.NA?I(r,t,axe.constants.NA_GROUP):axe.constants.resultGroups.forEach(function(e){Array.isArray(t[e])&&0<t[e].length&&I(r,t,e)})}),r},axe.utils.areStylesSet=function e(t,r,a){"use strict";var n=window.getComputedStyle(t,null),o=!1;return!!n&&(r.forEach(function(e){n.getPropertyValue(e.property)===e.value&&(o=!0)}),!!o||!(t.nodeName.toUpperCase()===a.toUpperCase()||!t.parentNode)&&e(t.parentNode,r,a))},axe.utils.checkHelper=function(t,r,a,n){"use strict";return{isAsync:!1,async:function(){return this.isAsync=!0,function(e){e instanceof Error==!1?(t.result=e,a(t)):n(e)}},data:function(e){t.data=e},relatedNodes:function(e){e=e instanceof Node?[e]:axe.utils.toArray(e),t.relatedNodes=e.map(function(e){return new axe.utils.DqElement(e,r)})}}};T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function O(e,t){"use strict";var r;return axe._tree&&(r=axe.utils.getSelector(t)),new Error(e+": "+(r||t))}function L(e,t,r){var a,n;this._fromFrame=!!r,this.spec=r||{},t&&t.absolutePaths&&(this._options={toRoot:!0}),this.source=void 0!==this.spec.source?this.spec.source:((n=(a=e).outerHTML)||"function"!=typeof XMLSerializer||(n=(new XMLSerializer).serializeToString(a)),function(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}(n||"")),this._element=e}axe.utils.clone=function(e){"use strict";var t,r,a=e;if(null!==e&&"object"===(void 0===e?"undefined":T(e)))if(Array.isArray(e))for(a=[],t=0,r=e.length;t<r;t++)a[t]=axe.utils.clone(e[t]);else for(t in a={},e)a[t]=axe.utils.clone(e[t]);return a},axe.utils.sendCommandToFrame=function(t,r,a,n){"use strict";var o=t.contentWindow;if(!o)return axe.log("Frame does not have a content window",t),void a(null);var i=setTimeout(function(){i=setTimeout(function(){r.debug?n(O("No response from frame",t)):a(null)},0)},500);axe.utils.respondable(o,"axe.ping",null,void 0,function(){clearTimeout(i);var e=r.options&&r.options.frameWaitTime||6e4;i=setTimeout(function(){n(O("Axe in frame timed out",t))},e),axe.utils.respondable(o,"axe.start",r,void 0,function(e){clearTimeout(i),e instanceof Error==!1?a(e):n(e)})})},axe.utils.collectResultsFromFrames=function(e,t,r,o,a,n){"use strict";var i=axe.utils.queue();e.frames.forEach(function(a){var n={options:t,command:r,parameter:o,context:{initiator:!1,page:e.page,include:a.include||[],exclude:a.exclude||[]}};i.defer(function(t,e){var r=a.node;axe.utils.sendCommandToFrame(r,n,function(e){if(e)return t({results:e,frameElement:r,frame:axe.utils.getSelector(r)});t(null)},e)})}),i.then(function(e){a(axe.utils.mergeResults(e,t))}).catch(n)},axe.utils.contains=function(e,t){"use strict";return e.shadowId||t.shadowId?function t(e,r){return e.shadowId===r.shadowId||!!e.children.find(function(e){return t(e,r)})}(e,t):"function"==typeof e.actualNode.contains?e.actualNode.contains(t.actualNode):!!(16&e.actualNode.compareDocumentPosition(t.actualNode))},function(axe){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}function o(e){return"a"<=e&&e<="f"||"A"<=e&&e<="F"||"0"<=e&&e<="9"}e.prototype.registerSelectorPseudos=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],this.pseudos[e]="selector";return this},e.prototype.unregisterSelectorPseudos=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],delete this.pseudos[e];return this},e.prototype.registerNumericPseudos=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],this.pseudos[e]="numeric";return this},e.prototype.unregisterNumericPseudos=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],delete this.pseudos[e];return this},e.prototype.registerNestingOperators=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],this.ruleNestingOperators[e]=!0;return this},e.prototype.unregisterNestingOperators=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],delete this.ruleNestingOperators[e];return this},e.prototype.registerAttrEqualityMods=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],this.attrEqualityMods[e]=!0;return this},e.prototype.unregisterAttrEqualityMods=function(e){for(var t=0,r=arguments.length;t<r;t++)e=arguments[t],delete this.attrEqualityMods[e];return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this};var s={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},i={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},y={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},v={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'};function t(l,u,c,d,n,m){var p,f,h,g,b;return g=l.length,p=null,h=function(e,t){var r,a,n;for(n="",u++,p=l.charAt(u);u<g;){if(p===e)return u++,n;if("\\"===p)if(u++,(p=l.charAt(u))===e)n+=e;else if(r=t[p])n+=r;else{if(o(p)){for(a=p,u++,p=l.charAt(u);o(p);)a+=p,u++,p=l.charAt(u);" "===p&&(u++,p=l.charAt(u)),n+=String.fromCharCode(parseInt(a,16));continue}n+=p}else n+=p;u++,p=l.charAt(u)}return n},f=function(){var e,t="";for(p=l.charAt(u);u<g;){if("a"<=(e=p)&&e<="z"||"A"<=e&&e<="Z"||"0"<=e&&e<="9"||"-"===e||"_"===e)t+=p;else{if("\\"!==p)return t;if(g<=++u)throw Error("Expected symbol but end of file reached.");if(p=l.charAt(u),s[p])t+=p;else{if(o(p)){var r=p;for(u++,p=l.charAt(u);o(p);)r+=p,u++,p=l.charAt(u);" "===p&&(u++,p=l.charAt(u)),t+=String.fromCharCode(parseInt(r,16));continue}t+=p}}u++,p=l.charAt(u)}return t},b=function(){p=l.charAt(u);for(var e=!1;" "===p||"\t"===p||"\n"===p||"\r"===p||"\f"===p;)e=!0,u++,p=l.charAt(u);return e},this.parse=function(){var e=this.parseSelector();if(u<g)throw Error('Rule expected but "'+l.charAt(u)+'" found.');return e},this.parseSelector=function(){var e,t=e=this.parseSingleSelector();for(p=l.charAt(u);","===p;){if(u++,b(),"selectors"!==e.type&&(e={type:"selectors",selectors:[t]}),!(t=this.parseSingleSelector()))throw Error('Rule expected after ",".');e.selectors.push(t)}return e},this.parseSingleSelector=function(){b();var e={type:"ruleSet"},t=this.parseRule();if(!t)return null;for(var r=e;t&&(t.type="rule",r.rule=t,r=t,b(),p=l.charAt(u),!(g<=u||","===p||")"===p));)if(n[p]){var a=p;if(u++,b(),!(t=this.parseRule()))throw Error('Rule expected after "'+a+'".');t.nestingOperator=a}else(t=this.parseRule())&&(t.nestingOperator=null);return e},this.parseRule=function(){for(var e,t=null;u<g;)if("*"===(p=l.charAt(u)))u++,(t=t||{}).tagName="*";else if("a"<=(e=p)&&e<="z"||"A"<=e&&e<="Z"||"-"===e||"_"===e||"\\"===p)(t=t||{}).tagName=f();else if("."===p)u++,((t=t||{}).classNames=t.classNames||[]).push(f());else if("#"===p)u++,(t=t||{}).id=f();else if("["===p){u++,b();var r={name:f()};if(b(),"]"===p)u++;else{var a="";if(d[p]&&(a=p,u++,p=l.charAt(u)),g<=u)throw Error('Expected "=" but end of file reached.');if("="!==p)throw Error('Expected "=" but "'+p+'" found.');r.operator=a+"=",u++,b();var n="";if(r.valueType="string",'"'===p)n=h('"',v);else if("'"===p)n=h("'",y);else if(m&&"$"===p)u++,n=f(),r.valueType="substitute";else{for(;u<g&&"]"!==p;)n+=p,u++,p=l.charAt(u);n=n.trim()}if(b(),g<=u)throw Error('Expected "]" but end of file reached.');if("]"!==p)throw Error('Expected "]" but "'+p+'" found.');u++,r.value=n}((t=t||{}).attrs=t.attrs||[]).push(r)}else{if(":"!==p)break;u++;var o=f(),i={name:o};if("("===p){u++;var s="";if(b(),"selector"===c[o])i.valueType="selector",s=this.parseSelector();else{if(i.valueType=c[o]||"string",'"'===p)s=h('"',v);else if("'"===p)s=h("'",y);else if(m&&"$"===p)u++,s=f(),i.valueType="substitute";else{for(;u<g&&")"!==p;)s+=p,u++,p=l.charAt(u);s=s.trim()}b()}if(g<=u)throw Error('Expected ")" but end of file reached.');if(")"!==p)throw Error('Expected ")" but "'+p+'" found.');u++,i.value=s}((t=t||{}).pseudos=t.pseudos||[]).push(i)}return t},this}e.prototype.parse=function(e){return new t(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled).parse()},e.prototype.escapeIdentifier=function(e){for(var t="",r=0,a=e.length;r<a;){var n=e.charAt(r);if(s[n])t+="\\"+n;else if("_"===n||"-"===n||"A"<=n&&n<="Z"||"a"<=n&&n<="z"||0!==r&&"0"<=n&&n<="9")t+=n;else{var o=n.charCodeAt(0);if(55296==(63488&o)){var i=e.charCodeAt(r++);if(55296!=(64512&o)||56320!=(64512&i))throw Error("UCS-2(decode): illegal sequence");o=((1023&o)<<10)+(1023&i)+65536}t+="\\"+o.toString(16)+" "}r++}return t},e.prototype.escapeStr=function(e){for(var t,r,a="",n=0,o=e.length;n<o;)'"'===(t=e.charAt(n))?t='\\"':"\\"===t?t="\\\\":(r=i[t])&&(t=r),a+=t,n++;return'"'+a+'"'},e.prototype.render=function(e){return this._renderEntity(e).trim()},e.prototype._renderEntity=function(e){var t,r,a;switch(a="",e.type){case"ruleSet":for(t=e.rule,r=[];t;)t.nestingOperator&&r.push(t.nestingOperator),r.push(this._renderEntity(t)),t=t.rule;a=r.join(" ");break;case"selectors":a=e.selectors.map(this._renderEntity,this).join(", ");break;case"rule":e.tagName&&(a="*"===e.tagName?"*":this.escapeIdentifier(e.tagName)),e.id&&(a+="#"+this.escapeIdentifier(e.id)),e.classNames&&(a+=e.classNames.map(function(e){return"."+this.escapeIdentifier(e)},this).join("")),e.attrs&&(a+=e.attrs.map(function(e){return e.operator?"substitute"===e.valueType?"["+this.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+this.escapeIdentifier(e.name)+e.operator+this.escapeStr(e.value)+"]":"["+this.escapeIdentifier(e.name)+"]"},this).join("")),e.pseudos&&(a+=e.pseudos.map(function(e){return e.valueType?"selector"===e.valueType?":"+this.escapeIdentifier(e.name)+"("+this._renderEntity(e.value)+")":"substitute"===e.valueType?":"+this.escapeIdentifier(e.name)+"($"+e.value+")":"numeric"===e.valueType?":"+this.escapeIdentifier(e.name)+"("+e.value+")":":"+this.escapeIdentifier(e.name)+"("+this.escapeIdentifier(e.value)+")":":"+this.escapeIdentifier(e.name)},this).join(""));break;default:throw Error('Unknown entity type: "'+e.type(NaN))}return a};var r=new e;r.registerNestingOperators(">"),axe.utils.cssParser=r}(axe),L.prototype={get selector(){return this.spec.selector||[axe.utils.getSelector(this.element,this._options)]},get xpath(){return this.spec.xpath||[axe.utils.getXpath(this.element)]},get element(){return this._element},get fromFrame(){return this._fromFrame},toJSON:function(){"use strict";return{selector:this.selector,source:this.source,xpath:this.xpath}}},L.fromFrame=function(e,t,r){return e.selector.unshift(r.selector),e.xpath.unshift(r.xpath),new axe.utils.DqElement(r.element,t,e)},axe.utils.DqElement=L,axe.utils.matchesSelector=function(){"use strict";var r;return function(e,t){return r&&e[r]||(r=function(e){var t,r,a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length;for(t=0;t<n;t++)if(e[r=a[t]])return r}(e)),e[r](t)}}(),axe.utils.escapeSelector=function(e){"use strict";for(var t,r=String(e),a=r.length,n=-1,o="",i=r.charCodeAt(0);++n<a;)0!=(t=r.charCodeAt(n))?o+=1<=t&&t<=31||127==t||0==n&&48<=t&&t<=57||1==n&&48<=t&&t<=57&&45==i?"\\"+t.toString(16)+" ":(0!=n||1!=a||45!=t)&&(128<=t||45==t||95==t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122)?r.charAt(n):"\\"+r.charAt(n):o+="�";return o},axe.utils.extendMetaData=function(t,r){Object.assign(t,r),Object.keys(r).filter(function(e){return"function"==typeof r[e]}).forEach(function(e){t[e]=null;try{t[e]=r[e](t)}catch(e){}})},axe.utils.finalizeRuleResult=function(e){return Object.assign(e,axe.utils.aggregateNodeResults(e.nodes)),delete e.nodes,e};var axe;T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function P(e,t){return{shadowId:t,children:[],actualNode:e}}axe.utils.findBy=function(e,t,r){if(Array.isArray(e))return e.find(function(e){return"object"===(void 0===e?"undefined":T(e))&&e[t]===r})},(axe=axe||{utils:{}}).utils.getFlattenedTree=function(e,a){var t,r,n;function o(e,t){var r=axe.utils.getFlattenedTree(t,a);return r&&(e=e.concat(r)),e}if(e.documentElement&&(e=e.documentElement),n=e.nodeName.toLowerCase(),axe.utils.isShadowRoot(e))return t=P(e,a),a="a"+Math.random().toString().substring(2),r=Array.from(e.shadowRoot.childNodes),t.children=r.reduce(o,[]),[t];if("content"===n)return(r=Array.from(e.getDistributedNodes())).reduce(o,[]);if("slot"!==n||"function"!=typeof e.assignedNodes)return 1===e.nodeType?(t=P(e,a),r=Array.from(e.childNodes),t.children=r.reduce(o,[]),[t]):3===e.nodeType?[P(e)]:void 0;(r=Array.from(e.assignedNodes())).length||(r=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e));window.getComputedStyle(e);return r.reduce(o,[])},axe.utils.getNodeFromTree=function(e,r){var a;return e.actualNode===r?e:(e.children.forEach(function(e){var t;e.actualNode===r?a=e:(t=axe.utils.getNodeFromTree(e,r))&&(a=t)}),a)},axe.utils.getAllChecks=function(e){"use strict";return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},axe.utils.getCheckOption=function(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],o=e.enabled,i=e.options;return n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};var U=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],a=!0,n=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(a=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function F(e,t){return[e.substring(0,t),e.substring(t)]}function _(e){return e.replace(/\s+$/,"")}axe.utils.getFriendlyUriEnd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,a=t.maxLength,n=void 0===a?25:a,o=function(e){var t=e,r="",a="",n="",o="",i="";if(e.includes("#")){var s=F(e,e.indexOf("#")),l=U(s,2);e=l[0],i=l[1]}if(e.includes("?")){var u=F(e,e.indexOf("?")),c=U(u,2);e=c[0],o=c[1]}if(e.includes("://")){var d=e.split("://"),m=U(d,2);r=m[0];var p=F(e=m[1],e.indexOf("/")),f=U(p,2);a=f[0],e=f[1]}else if("//"===e.substr(0,2)){var h=F(e=e.substr(2),e.indexOf("/")),g=U(h,2);a=g[0],e=g[1]}if("www."===a.substr(0,4)&&(a=a.substr(4)),a&&a.includes(":")){var b=F(a,a.indexOf(":")),y=U(b,2);a=y[0],n=y[1]}return{original:t,protocol:r,domain:a,port:n,path:e,query:o,hash:i}}(e),i=o.path,s=o.domain,l=o.hash,u=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=n?_(u+l):u.length<2&&2<l.length&&l.length<=n?_(l):void 0;if(s&&s.length<n&&i.length<=1)return _(s+i);if(i==="/"+u&&s&&r&&s!==r&&(s+i).length<=n)return _(s+i);var c=u.lastIndexOf(".");return(-1===c||1<c)&&(-1!==c||2<u.length)&&u.length<=n&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(u)?_(u):void 0}},axe.utils.getRootNode=function(e){var t=e.getRootNode&&e.getRootNode()||document;return t===e&&(t=document),t};var H,D=axe.utils.escapeSelector,M=void 0,V=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"],B=31;function G(e,t){var r=t.name,a=void 0;if(-1!==r.indexOf("href")||-1!==r.indexOf("src")){var n=axe.utils.getFriendlyUriEnd(e.getAttribute(r));if(n){var o=encodeURI(n);if(!o)return;a=D(t.name)+'$="'+o+'"'}else a=D(t.name)+'="'+e.getAttribute(r)+'"'}else a=D(r)+'="'+D(t.value)+'"';return a}function Y(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function W(e){return!V.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<B)}function $(t,r){var e=t.parentNode&&Array.from(t.parentNode.children||"")||[];return e.find(function(e){return e!==t&&axe.utils.matchesSelector(e,r)})?":nth-child("+(1+e.indexOf(t))+")":""}function X(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||document,r="#"+D(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function K(e){return void 0===M&&(M=axe.utils.isXHTML(document)),D(M?e.localName:e.nodeName.toLowerCase())}function J(e,t){var r,a,n,o,i,s,l,u,c,d,m="",p=void 0,f=(r=e,n=[],o=(a=t).classes,i=a.tags,r.classList&&Array.from(r.classList).forEach(function(e){var t=D(e);o[t]<i[r.nodeName]&&n.push({name:t,count:o[t],species:"class"})}),n.sort(Y)),h=(s=e,u=[],c=(l=t).attributes,d=l.tags,s.attributes&&Array.from(s.attributes).filter(W).forEach(function(e){var t=G(s,e);t&&c[t]<d[s.nodeName]&&u.push({name:t,count:c[t],species:"attribute"})}),u.sort(Y));return f.length&&1===f[0].count?p=[f[0]]:h.length&&1===h[0].count?(p=[h[0]],m=K(e)):((p=f.concat(h)).sort(Y),(p=p.slice(0,3)).some(function(e){return"class"===e.species})?p.sort(function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1}):m=K(e)),m+p.reduce(function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e},"")}function Z(e,t,r){if(!axe._selectorData)throw new Error("Expect axe._selectorData to be set up");var a=t.toRoot,n=void 0!==a&&a,o=void 0,i=void 0;do{var s=X(e);s||(s=J(e,axe._selectorData),s+=$(e,s)),o=o?s+" > "+o:s,i=i?i.filter(function(e){return axe.utils.matchesSelector(e,o)}):Array.from(r.querySelectorAll(o)),e=e.parentElement}while((1<i.length||n)&&e&&11!==e.nodeType);return 1===i.length?o:-1!==o.indexOf(" > ")?":root"+o.substring(o.indexOf(" > ")):":root"}axe.utils.getSelectorData=function(e){for(var a={classes:{},tags:{},attributes:{}},n=(e=Array.isArray(e)?e:[e]).slice(),o=[],t=function(){var e=n.pop(),r=e.actualNode;if(r.querySelectorAll){var t=r.nodeName;a.tags[t]?a.tags[t]++:a.tags[t]=1,r.classList&&Array.from(r.classList).forEach(function(e){var t=D(e);a.classes[t]?a.classes[t]++:a.classes[t]=1}),r.attributes&&Array.from(r.attributes).filter(W).forEach(function(e){var t=G(r,e);t&&(a.attributes[t]?a.attributes[t]++:a.attributes[t]=1)})}for(e.children.length&&(o.push(n),n=e.children.slice());!n.length&&o.length;)n=o.pop()};n.length;)t();return a},axe.utils.getSelector=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";var r=e.getRootNode&&e.getRootNode()||document;if(11!==r.nodeType)return Z(e,t,r);for(var a=[];11===r.nodeType;)a.push({elm:e,doc:r}),r=(e=r.host).getRootNode();return a.push({elm:e,doc:r}),a.reverse().map(function(e){return Z(e.elm,t,e.doc)})},axe.utils.getXpath=function(e){var t=function e(t,r){var a,n;if(!t)return[];if(!r&&9===t.nodeType)return r=[{str:"html"}];if(r=r||[],t.parentNode&&t.parentNode!==t&&(r=e(t.parentNode,r)),t.previousSibling){for(n=1,a=t.previousSibling;1===a.nodeType&&a.nodeName===t.nodeName&&n++,a=a.previousSibling;);1===n&&(n=null)}else if(t.nextSibling)for(a=t.nextSibling;1===a.nodeType&&a.nodeName===t.nodeName?(n=1,a=null):(n=null,a=a.previousSibling),a;);if(1===t.nodeType){var o={};o.str=t.nodeName.toLowerCase();var i=t.getAttribute&&axe.utils.escapeSelector(t.getAttribute("id"));i&&1===t.ownerDocument.querySelectorAll("#"+i).length&&(o.id=t.getAttribute("id")),1<n&&(o.count=n),r.push(o)}return r}(e);return t.reduce(function(e,t){return t.id?"/"+t.str+"[@id='"+t.id+"']":e+"/"+t.str+(0<t.count?"["+t.count+"]":"")},"")},axe.utils.injectStyle=function(e){"use strict";if(H&&H.parentNode)return void 0===H.styleSheet?H.appendChild(document.createTextNode(e)):H.styleSheet.cssText+=e,H;if(e){var t=document.head||document.getElementsByTagName("head")[0];return(H=document.createElement("style")).type="text/css",void 0===H.styleSheet?H.appendChild(document.createTextNode(e)):H.styleSheet.cssText=e,t.appendChild(H),H}},axe.utils.isHidden=function(e,t){"use strict";var r;if(9===e.nodeType)return!1;11===e.nodeType&&(e=e.host);var a=window.getComputedStyle(e,null);return!a||!e.parentNode||"none"===a.getPropertyValue("display")||!t&&"hidden"===a.getPropertyValue("visibility")||"true"===e.getAttribute("aria-hidden")||(r=e.assignedSlot?e.assignedSlot:e.parentNode,axe.utils.isHidden(r,!0))};var Q,ee,te,re,ae=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];axe.utils.isShadowRoot=function(e){var t=e.nodeName.toLowerCase();return!(!e.shadowRoot||!/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t)&&!ae.includes(t))},axe.utils.isXHTML=function(e){"use strict";return!!e.createElement&&"A"===e.createElement("A").localName},axe.utils.mergeResults=function(e,l){"use strict";var u=[];return e.forEach(function(s){var e,t=(e=s)&&e.results?Array.isArray(e.results)?e.results.length?e.results:null:[e.results]:null;t&&t.length&&t.forEach(function(e){var t,r,a,n,o;e.nodes&&s.frame&&(t=e.nodes,r=l,a=s.frameElement,n=s.frame,o={element:a,selector:n,xpath:axe.utils.getXpath(a)},t.forEach(function(e){e.node=axe.utils.DqElement.fromFrame(e.node,r,o);var t=axe.utils.getAllChecks(e);t.length&&t.forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return axe.utils.DqElement.fromFrame(e,r,o)})})}));var i=axe.utils.findBy(u,"id",e.id);i?e.nodes.length&&function(e,t){for(var r,a,n=t[0].node,o=0,i=e.length;o<i;o++)if(a=e[o].node,0<(r=axe.utils.nodeSorter({actualNode:a.element},{actualNode:n.element}))||0===r&&n.selector.length<a.selector.length)return e.splice.apply(e,[o,0].concat(t));e.push.apply(e,t)}(i.nodes,e.nodes):u.push(e)})}),u},axe.utils.nodeSorter=function(e,t){"use strict";return e.actualNode===t.actualNode?0:4&e.actualNode.compareDocumentPosition(t.actualNode)?-1:1},utils.performanceTimer=function(){"use strict";function e(){if(window.performance&&window.performance)return window.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){window.performance&&void 0!==window.performance.mark&&window.performance.mark(e)},measure:function(e,t,r){window.performance&&void 0!==window.performance.measure&&window.performance.measure(e,t,r)},logMeasures:function(e){function t(e){axe.log("Measure "+e.name+" took "+e.duration+"ms")}if(window.performance&&void 0!==window.performance.getEntriesByType)for(var r=window.performance.getEntriesByType("measure"),a=0;a<r.length;++a){var n=r[a];if(n.name===e)return void t(n);t(n)}},timeElapsed:function(){return e()-r},reset:function(){t||(t=e()),r=e()}}}(),"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(null!=a)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),a=r.length>>>0,n=arguments[1],o=0;o<a;o++)if(t=r[o],e.call(n,t,o,r))return t}}),axe.utils.pollyfillElementsFromPoint=function(){if(document.elementsFromPoint)return document.elementsFromPoint;if(document.msElementsFromPoint)return document.msElementsFromPoint;var e,t=((e=document.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),s=t?"pointer-events":"visibility",l=t?"none":"hidden",u=document.createElement("style");return u.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var r,a,n,o=[],i=[];for(document.head.appendChild(u);(r=document.elementFromPoint(e,t))&&-1===o.indexOf(r);)o.push(r),i.push({value:r.style.getPropertyValue(s),priority:r.style.getPropertyPriority(s)}),r.style.setProperty(s,l,"important");for(o.indexOf(document.documentElement)<o.length-1&&(o.splice(o.indexOf(document.documentElement),1),o.push(document.documentElement)),a=i.length;n=i[--a];)o[a].style.setProperty(s,n.value?n.value:"",n.priority);return document.head.removeChild(u),o}},"function"==typeof window.addEventListener&&(document.elementsFromPoint=axe.utils.pollyfillElementsFromPoint()),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){"use strict";var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var a,n,o=parseInt(arguments[1],10)||0;for(0<=o?a=o:(a=r+o)<0&&(a=0);a<r;){if(e===(n=t[a])||e!=e&&n!=n)return!0;a++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){"use strict";if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,a=2<=arguments.length?arguments[1]:void 0,n=0;n<r;n++)if(n in t&&e.call(a,t[n],n,t))return!0;return!1}}),Array.from||Object.defineProperty(Array,"from",{value:(Q=Object.prototype.toString,ee=function(e){return"function"==typeof e||"[object Function]"===Q.call(e)},te=Math.pow(2,53)-1,re=function(e){var t,r=(t=Number(e),isNaN(t)?0:0!==t&&isFinite(t)?(0<t?1:-1)*Math.floor(Math.abs(t)):t);return Math.min(Math.max(r,0),te)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=1<arguments.length?arguments[1]:void 0;if(void 0!==a){if(!ee(a))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(r=arguments[2])}for(var n,o=re(t.length),i=ee(this)?Object(new this(o)):new Array(o),s=0;s<o;)n=t[s],i[s]=a?void 0===r?a(n,s):a.call(r,n,s):n,s+=1;return i.length=o,i})}),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),axe.utils.preloadCssom=function(e){var t,r,a=e.timeout,n=e.treeRoot,o=void 0===n?axe._tree[0]:n,i=axe.utils.uniqueArray((t=o,r=[],axe.utils.querySelectorAllFilter(t,"*",function(e){return!r.includes(e.shadowId)&&(r.push(e.shadowId),!0)}).map(function(e){return{shadowId:e.shadowId,root:axe.utils.getRootNode(e.actualNode)}})),[]),s=axe.utils.queue();if(!i.length)return s;var l=document.implementation.createHTMLDocument();function u(e){var t=e.data,r=e.isExternal,a=e.shadowId,n=e.root,o=l.createElement("style");return o.type="text/css",o.appendChild(l.createTextNode(t)),l.head.appendChild(o),{sheet:o.sheet,isExternal:r,shadowId:a,root:n}}return s.defer(function(t,e){i.reduce(function(e,r){return e.defer(function(e,t){(function(e,n,o){var i=e.root,s=e.shadowId;function l(e){var a=e.resolve,t=e.reject,r=e.url;axe.imports.axios({method:"get",url:r,timeout:n}).then(function(e){var t=e.data,r=o({data:t,isExternal:!0,shadowId:s,root:i});a(r)}).catch(t)}var u=axe.utils.queue(),t=i.styleSheets?Array.from(i.styleSheets):null;if(!t)return u;var r=[];return t.filter(function(e){var t=!1;return e.href&&(r.includes(e.href)?t=!0:r.push(e.href)),!Array.from(e.media).includes("print")&&!t}).forEach(function(r){try{var e=r.cssRules,t=Array.from(e),a=t.filter(function(e){return e.href});if(!a.length)return void u.defer(function(e){return e({sheet:r,isExternal:!1,shadowId:s,root:i})});a.forEach(function(r){u.defer(function(e,t){l({resolve:e,reject:t,url:r.href})})});var n=t.filter(function(e){return!e.href}).reduce(function(e,t){return e.push(t.cssText),e},[]).join();u.defer(function(e){return e(o({data:n,shadowId:s,root:i,isExternal:!1}))})}catch(e){u.defer(function(e,t){l({resolve:e,reject:t,url:r.href})})}},[]),u})(r,a,u).then(e).catch(t)}),e},axe.utils.queue()).then(function(e){t(e.reduce(function(e,t){return e.concat(t)},[]))}).catch(e)}),s};T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};axe.utils.shouldPreload=function(e){return!(!e||!e.preload)&&("boolean"==typeof e.preload?e.preload:"object"===(void 0===(t=e.preload)?"undefined":T(t))&&Array.isArray(t.assets));var t},axe.utils.getPreloadConfig=function(e){var t={assets:axe.constants.preloadAssets,timeout:axe.constants.preloadAssetsTimeout};if("boolean"==typeof e.preload)return t;if(!e.preload.assets.every(function(e){return axe.constants.preloadAssets.includes(e.toLowerCase())}))throw new Error("Requested assets, not supported. Supported assets are: "+axe.constants.preloadAssets.join(", ")+".");return t.assets=axe.utils.uniqueArray(e.preload.assets.map(function(e){return e.toLowerCase()}),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!Number.isNaN(e.preload.timeout)&&(t.timeout=e.preload.timeout),t},axe.utils.preload=function(e){var t={cssom:axe.utils.preloadCssom},r=axe.utils.queue();if(!axe.utils.shouldPreload(e))return r;var a=axe.utils.getPreloadConfig(e);return a.assets.forEach(function(o){r.defer(function(n,e){t[o](a).then(function(e){var t,r,a;n((t={},r=o,a=e[0],r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t))}).catch(e)})}),r};T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function ne(n,o){"use strict";return function(e){var t=n[e.id]||{},r=t.messages||{},a=Object.assign({},t);delete a.messages,void 0===e.result?"object"===T(r.incomplete)?a.message=function(){return function(t,r){function a(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:i.incompleteFallbackMessage()}if(!t||!t.missingData)return a(r);try{var e=r.incomplete[t.missingData[0].reason];if(!e)throw new Error;return e}catch(e){return"string"==typeof t.missingData?r.incomplete[t.missingData]:a(r)}}(e.data,r)}:a.message=r.incomplete:a.message=e.result===o?r.pass:r.fail,axe.utils.extendMetaData(e,a)}}axe.utils.publishMetaData=function(e){"use strict";var t=axe._audit.data.checks||{},r=axe._audit.data.rules||{},a=axe.utils.findBy(axe._audit.rules,"id",e.id)||{};e.tags=axe.utils.clone(a.tags||[]);var n=ne(t,!0),o=ne(t,!1);e.nodes.forEach(function(e){e.any.forEach(n),e.all.forEach(n),e.none.forEach(o)}),axe.utils.extendMetaData(e,axe.utils.clone(r[e.id]||{}))};var oe=function(){},ie=function(){};var se,le=(se=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(se,"\\")}),ue=/\\/g;function ce(e){if(e)return e.map(function(e){var t,r,a=e.name.replace(ue,""),n=(e.value||"").replace(ue,"");switch(e.operator){case"^=":r=new RegExp("^"+le(n));break;case"$=":r=new RegExp(le(n)+"$");break;case"~=":r=new RegExp("(^|\\s)"+le(n)+"(\\s|$)");break;case"|=":r=new RegExp("^"+le(n)+"(-|$)");break;case"=":t=function(e){return n===e};break;case"*=":t=function(e){return e&&e.includes(n)};break;case"!=":t=function(e){return n!==e};break;default:t=function(e){return!!e}}return""===n&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:a,value:n,test:t}})}function de(e){if(e)return e.map(function(e){return{value:e=e.replace(ue,""),regexp:new RegExp("(^|\\s)"+le(e)+"(\\s|$)")}})}function me(e){if(e)return e.map(function(e){var t;return"not"===e.name&&(t=(t=axe.utils.cssParser.parse(e.value)).selectors?t.selectors:[t],t=oe(t)),{name:e.name,expressions:t,value:e.value}})}function pe(e,t,r,a){var n={nodes:e.slice(),anyLevel:t,thisLevel:r,parentShadowId:a};return n.nodes.reverse(),n}function fe(e,t){return c=e.actualNode,d=t[0],1===c.nodeType&&("*"===d.tag||c.nodeName.toLowerCase()===d.tag)&&(l=e.actualNode,!(u=t[0]).classes||u.classes.reduce(function(e,t){return e&&l.className&&l.className.match(t.regexp)},!0))&&(i=e.actualNode,!(s=t[0]).attributes||s.attributes.reduce(function(e,t){var r=i.getAttribute(t.key);return e&&null!==r&&(!t.value||t.test(r))},!0))&&(n=e.actualNode,!(o=t[0]).id||n.id===o.id)&&(r=e,!((a=t[0]).pseudos&&!a.pseudos.reduce(function(e,t){if("not"===t.name)return e&&!ie([r],t.expressions,!1).length;throw new Error("the pseudo selector "+t.name+" has not yet been implemented")},!0)));var r,a,n,o,i,s,l,u,c,d}oe=function(e){return e.map(function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:ce(r.attrs),classes:de(r.classNames),pseudos:me(r.pseudos)}),r=r.rule;return t})},ie=function(e,t,r,a){for(var n=[],o=pe(Array.isArray(e)?e:[e],t,[],e[0].shadowId),i=[];o.nodes.length;){for(var s=o.nodes.pop(),l=[],u=[],c=o.anyLevel.slice().concat(o.thisLevel),d=!1,m=0;m<c.length;m++){var p=c[m];if(fe(s,p)&&(!p[0].id||s.shadowId===o.parentShadowId))if(1===p.length)d||a&&!a(s)||(i.push(s),d=!0);else{var f=p.slice(1);if(!1===[" ",">"].includes(f[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+p[1].combinator);">"===f[0].combinator?l.push(f):u.push(f)}!o.anyLevel.includes(p)||p[0].id&&s.shadowId!==o.parentShadowId||u.push(p)}for(s.children&&s.children.length&&r&&(n.push(o),o=pe(s.children,u,l,s.shadowId));!o.nodes.length&&n.length;)o=n.pop()}return i},axe.utils.querySelectorAll=function(e,t){return axe.utils.querySelectorAllFilter(e,t)},axe.utils.querySelectorAllFilter=function(e,t,r){e=Array.isArray(e)?e:[e];var a=axe.utils.cssParser.parse(t);return a=a.selectors?a.selectors:[a],a=oe(a),ie(e,a,!0,r)};T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){"use strict";function m(){}function p(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}axe.utils.queue=function(){var t,a=[],n=0,o=0,r=m,i=!1,s=function(e){t=e,setTimeout(function(){null!=t&&axe.log("Uncaught error (of queue)",t)},1)},l=s;function u(t){return function(e){a[t]=e,(o-=1)||r===m||(i=!0,r(a))}}function c(e){return r=m,l(e),a}var d={defer:function(e){if("object"===(void 0===e?"undefined":T(e))&&e.then&&e.catch){var r=e;e=function(e,t){r.then(e).catch(t)}}if(p(e),void 0===t){if(i)throw new Error("Queue already completed");return a.push(e),++o,function(){for(var e=a.length;n<e;n++){var t=a[n];try{t.call(null,u(n),c)}catch(e){c(e)}}}(),d}},then:function(e){if(p(e),r!==m)throw new Error("queue `then` already set");return t||(r=e,o||(i=!0,r(a))),d},catch:function(e){if(p(e),l!==s)throw new Error("queue `catch` already set");return t?(e(t),t=null):l=e,d},abort:c};return d}}();var he;T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function ge(t,e){"use strict";var r,a,n=axe._audit&&axe._audit.tagExclude?axe._audit.tagExclude:[];return e.hasOwnProperty("include")||e.hasOwnProperty("exclude")?(r=e.include||[],r=Array.isArray(r)?r:[r],a=e.exclude||[],a=(a=Array.isArray(a)?a:[a]).concat(n.filter(function(e){return-1===r.indexOf(e)}))):(r=Array.isArray(e)?e:[e],a=n.filter(function(e){return-1===r.indexOf(e)})),!!(r.some(function(e){return-1!==t.tags.indexOf(e)})||0===r.length&&!1!==t.enabled)&&a.every(function(e){return-1===t.tags.indexOf(e)})}function be(e){return Array.from(e.children).reduce(function(e,t){var r=function(e){var t=window.getComputedStyle(e),r="visible"===t.getPropertyValue("overflow-y"),a="visible"===t.getPropertyValue("overflow-x");if(!r&&e.scrollHeight>e.clientHeight||!a&&e.scrollWidth>e.clientWidth)return{elm:e,top:e.scrollTop,left:e.scrollLeft}}(t);return r&&e.push(r),e.concat(be(t))},[])}function ye(e){"use strict";return e.sort(function(e,t){return axe.utils.contains(e,t)?1:-1})[0]}function ve(t,e){"use strict";var r=e.include&&ye(e.include.filter(function(e){return axe.utils.contains(e,t)})),a=e.exclude&&ye(e.exclude.filter(function(e){return axe.utils.contains(e,t)}));return!!(!a&&r||a&&axe.utils.contains(a,r))}function we(e,t){"use strict";var r;if(0===e.length)return t;e.length<t.length&&(r=e,e=t,t=r);for(var a=0,n=t.length;a<n;a++)e.includes(t[a])||e.push(t[a]);return e}!function(e){"use strict";var l={},i={},s=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function u(){var e="axeAPI",t="";return void 0!==axe&&axe._audit&&axe._audit.application&&(e=axe._audit.application),void 0!==axe&&(t=axe.version),e+"."+t}function c(e,t,r,a,n,o){var i;r instanceof Error&&(i={name:r.name,message:r.message,stack:r.stack},r=void 0);var s={uuid:a,topic:t,message:r,error:i,_respondable:!0,_source:u(),_keepalive:n};"function"==typeof o&&(l[a]=o),e.postMessage(JSON.stringify(s),"*")}function t(e,t,r,a,n){c(e,t,r,he.v1(),a,n)}function d(a,n,o){return function(e,t,r){c(a,n,e,o,t,r)}}function o(e){var t;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){}var r,a,n,o;if(function(e){if("object"!==(void 0===e?"undefined":T(e))||"string"!=typeof e.uuid||!0!==e._respondable)return!1;var t=u();return e._source===t||"axeAPI.x.y.z"===e._source||"axeAPI.x.y.z"===t}(t))return"object"===T(t.error)?t.error=(r=t.error,a=r.message||"Unknown error occurred",n=s.includes(r.name)?r.name:"Error",o=window[n]||Error,r.stack&&(a+="\n"+r.stack.replace(r.message,"")),new o(a)):t.error=void 0,t}}t.subscribe=function(e,t){i[e]=t},t.isInFrame=function(e){return!!(e=e||window).frameElement},"function"==typeof window.addEventListener&&window.addEventListener("message",function(t){var r=o(t.data);if(r){var a=r.uuid,e=r._keepalive,n=l[a];if(n)n(r.error||r.message,e,d(t.source,r.topic,a)),e||delete l[a];if(!r.error)try{!function(e,t,r){var a=t.topic,n=i[a];if(n){var o=d(e,null,t.uuid);n(t.message,r,o)}}(t.source,r,e)}catch(e){c(t.source,r.topic,e,a,!1)}}},!1),e.respondable=t}(utils),axe.utils.ruleShouldRun=function(e,t,r){"use strict";var a=r.runOnly||{},n=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===a.type?-1!==a.values.indexOf(e.id):n&&"boolean"==typeof n.enabled?n.enabled:"tag"===a.type&&a.values?ge(e,a.values):ge(e,[]))},axe.utils.getScrollState=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:window,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(be(document.body))},axe.utils.setScrollState=function(e){e.forEach(function(e){return function(e,t,r){if(e===window)return e.scroll(t,r);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)})},axe.utils.select=function(e,t){"use strict";var r,a=[];if(axe._selectCache)for(var n=0,o=axe._selectCache.length;n<o;n++){var i=axe._selectCache[n];if(i.selector===e)return i.result}for(var s,l=(s=t,function(e){return ve(e,s)}),u=t.include.reduce(function(e,t){return e.length&&e[e.length-1].actualNode.contains(t.actualNode)||e.push(t),e},[]),c=0;c<u.length;c++)(r=u[c]).actualNode.nodeType===r.actualNode.ELEMENT_NODE&&axe.utils.matchesSelector(r.actualNode,e)&&l(r)&&(a=we(a,[r])),a=we(a,axe.utils.querySelectorAllFilter(r,e,l));return axe._selectCache&&axe._selectCache.push({selector:e,result:a}),a},axe.utils.toArray=function(e){"use strict";return Array.prototype.slice.call(e)},axe.utils.uniqueArray=function(e,t){return e.concat(t).filter(function(e,t,r){return r.indexOf(e)===t})},function(e){var i,t=e.crypto||e.msCrypto;if(!i&&t&&t.getRandomValues){var r=new Uint8Array(16);i=function(){return t.getRandomValues(r),r}}if(!i){var a=new Array(16);i=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a}}for(var s="function"==typeof e.Buffer?e.Buffer:Array,n=[],o={},l=0;l<256;l++)n[l]=(l+256).toString(16).substr(1),o[n[l]]=l;function p(e,t){var r=t||0,a=n;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var u=i(),f=[1|u[0],u[1],u[2],u[3],u[4],u[5]],h=16383&(u[6]<<8|u[7]),g=0,b=0;function c(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"==e?new s(16):null,e=null);var n=(e=e||{}).random||(e.rng||i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t)for(var o=0;o<16;o++)t[a+o]=n[o];return t||p(n)}(he=c).v1=function(e,t,r){var a=t&&r||0,n=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:h,i=null!=e.msecs?e.msecs:(new Date).getTime(),s=null!=e.nsecs?e.nsecs:b+1,l=i-g+(s-b)/1e4;if(l<0&&null==e.clockseq&&(o=o+1&16383),(l<0||g<i)&&null==e.nsecs&&(s=0),1e4<=s)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");g=i,h=o;var u=(1e4*(268435455&(i+=122192928e5))+(b=s))%4294967296;n[a++]=u>>>24&255,n[a++]=u>>>16&255,n[a++]=u>>>8&255,n[a++]=255&u;var c=i/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=255&c,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=o>>>8|128,n[a++]=255&o;for(var d=e.node||f,m=0;m<6;m++)n[a+m]=d[m];return t||p(n)},he.v4=c,he.parse=function(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){n<16&&(t[a+n++]=o[e])});n<16;)t[a+n++]=0;return t},he.unparse=p,he.BufferClass=s}(window);T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};axe._load({data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value must be unique"},"area-alt":{description:"Ensures <area> elements of image maps have alternate text",help:"Active <area> elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element's role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role must be appropriate for the element"},"aria-dpub-role-fallback":{description:"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles",help:"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles"},"aria-hidden-body":{description:"Ensures aria-hidden='true' is not present on the document body.",help:"aria-hidden='true' must not be present on the document body"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},blink:{description:"Ensures <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensures buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},checkboxgroup:{description:'Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent',help:"Checkbox inputs with the same name attribute value must be part of a group"},"color-contrast":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",help:"Elements must have sufficient color contrast"},"css-orientation-lock":{description:"Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries are not used to lock display orientation"},"definition-list":{description:"Ensures <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script> or <template> elements"},dlitem:{description:"Ensures <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensures each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensures every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensures every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensures every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensures headings have discernible text",help:"Headings must not be empty"},"focus-order-semantics":{description:"Ensures elements in the focus order have an appropriate role",help:"Elements in the focus order need a role appropriate for interactive content"},"frame-tested":{description:"Ensures <iframe> and <frame> elements contain the axe-core script",help:"Frames must be tested with axe-core"},"frame-title-unique":{description:"Ensures <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensures <iframe> and <frame> elements contain a non-empty title attribute",help:"Frames must have title attribute"},"heading-order":{description:"Ensures the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page cannot be analyzed"},"html-has-lang":{description:"Ensures every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensures the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"image-alt":{description:"Ensures <img> elements have alternate text or a role of none or presentation",help:"Images must have alternate text"},"image-redundant-alt":{description:"Ensure button and link text is not repeated as image alternative",help:"Text of buttons and links should not be repeated in the image alternative"},"input-image-alt":{description:'Ensures <input type="image"> elements have alternate text',help:"Image buttons must have alternate text"},"label-title-only":{description:"Ensures that every form element is not solely labeled using the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensures every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensures the banner landmark is at top level",help:"Banner landmark must not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensures the contentinfo landmark is at top level",help:"Contentinfo landmark must not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensures the main landmark is at top level",help:"Main landmark must not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensures the page has at most one banner landmark",help:"Page must not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensures the page has at most one contentinfo landmark",help:"Page must not have more than one contentinfo landmark"},"landmark-one-main":{description:"Ensures the page has only one main landmark and each iframe in the page has at most one main landmark",help:"Page must have one main landmark"},"layout-table":{description:"Ensures presentational <table> elements do not use <th>, <caption> elements or the summary attribute",help:"Layout tables must not use data table elements"},"link-in-text-block":{description:"Links can be distinguished without relying on color",help:"Links must be distinguished from surrounding text in a way that does not rely on color"},"link-name":{description:"Ensures links have discernible text",help:"Links must have discernible text"},list:{description:"Ensures that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensures <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensures <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh":{description:'Ensures <meta http-equiv="refresh"> is not used',help:"Timed refresh must not exist"},"meta-viewport-large":{description:'Ensures <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensures <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"object-alt":{description:"Ensures <object> elements have alternate text",help:"<object> elements must have alternate text"},"p-as-heading":{description:"Ensure p elements are not used to style headings",help:"Bold, italic text and font-size are not used to style p elements as a heading"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page must contain a level-one heading"},radiogroup:{description:'Ensures related <input type="radio"> elements have a group and that the group designation is consistent',help:"Radio inputs with the same name attribute value must be part of a group"},region:{description:"Ensures all page content is contained by landmarks",help:"All page content must be contained by landmarks"},"scope-attr-valid":{description:"Ensures the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"server-side-image-map":{description:"Ensures that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},tabindex:{description:"Ensures tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure that tables do not have the same summary and caption",help:"The <caption> element should not contain the same text as the summary attribute"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells should not be used to give caption to a data table."},"td-has-header":{description:"Ensure that each non-empty data cell in a large table has one or more table headers",help:"All non-empty td element in table larger than 3 by 3 must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table using the headers refers to another cell in that table",help:"All cells in a table element that use the headers attribute must only refer to other cells of that same table"},"th-has-data-cells":{description:"Ensure that each table header in a data table refers to data cells",help:"All th elements and elements with role=columnheader/rowheader must have data cells they describe"},"valid-lang":{description:"Ensures lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensures <video> elements have captions",help:"<video> elements must have captions"},"video-description":{description:"Ensures <video> elements have audio descriptions",help:"<video> elements must have an audio description track"}},checks:{accesskeys:{impact:"serious",messages:{pass:function(e){return"Accesskey attribute value is unique"},fail:function(e){return"Document has multiple elements with the same accesskey"}}},"non-empty-alt":{impact:"critical",messages:{pass:function(e){return"Element has a non-empty alt attribute"},fail:function(e){return"Element has no alt attribute or the alt attribute is empty"}}},"non-empty-title":{impact:"serious",messages:{pass:function(e){return"Element has a title attribute"},fail:function(e){return"Element has no title attribute or the title attribute is empty"}}},"aria-label":{impact:"serious",messages:{pass:function(e){return"aria-label attribute exists and is not empty"},fail:function(e){return"aria-label attribute does not exist or is empty"}}},"aria-labelledby":{impact:"serious",messages:{pass:function(e){return"aria-labelledby attribute exists and references elements that are visible to screen readers"},fail:function(e){return"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:function(e){return"ARIA attributes are used correctly for the defined role"},fail:function(e){var t="ARIA attribute"+(e.data&&1<e.data.length?"s are":" is")+" not allowed:",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t}}},"aria-allowed-role":{impact:"minor",messages:{pass:function(e){return"ARIA role is allowed for given element"},fail:function(e){return"role"+(e.data&&1<e.data.length?"s":"")+" "+e.data.join(", ")+" "+(e.data&&1<e.data.length?"are":" is")+" not allowed for given element"}}},"implicit-role-fallback":{impact:"moderate",messages:{pass:function(e){return"Element’s implicit ARIA role is an appropriate fallback"},fail:function(e){return"Element’s implicit ARIA role is not a good fallback for the (unsupported) role"}}},"aria-hidden-body":{impact:"critical",messages:{pass:function(e){return"No aria-hidden attribute is present on document body"},fail:function(e){return"aria-hidden=true should not be present on the document body"}}},"aria-required-attr":{impact:"critical",messages:{pass:function(e){return"All required ARIA attributes are present"},fail:function(e){var t="Required ARIA attribute"+(e.data&&1<e.data.length?"s":"")+" not present:",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t}}},"aria-required-children":{impact:"critical",messages:{pass:function(e){return"Required ARIA children are present"},fail:function(e){var t="Required ARIA "+(e.data&&1<e.data.length?"children":"child")+" role not present:",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t},incomplete:function(e){var t="Expecting ARIA "+(e.data&&1<e.data.length?"children":"child")+" role to be added:",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t}}},"aria-required-parent":{impact:"critical",messages:{pass:function(e){return"Required ARIA parent role present"},fail:function(e){var t="Required ARIA parent"+(e.data&&1<e.data.length?"s":"")+" role not present:",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t}}},invalidrole:{impact:"critical",messages:{pass:function(e){return"ARIA role is valid"},fail:function(e){return"Role must be one of the valid ARIA roles"}}},abstractrole:{impact:"serious",messages:{pass:function(e){return"Abstract roles are not used"},fail:function(e){return"Abstract roles cannot be directly used"}}},unsupportedrole:{impact:"critical",messages:{pass:function(e){return"ARIA role is supported"},fail:function(e){return"The role used is not widely supported in assistive technologies"}}},"aria-valid-attr-value":{impact:"critical",messages:{pass:function(e){return"ARIA attribute values are valid"},fail:function(e){var t="Invalid ARIA attribute value"+(e.data&&1<e.data.length?"s":"")+":",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t}}},"aria-errormessage":{impact:"critical",messages:{pass:function(e){return"Uses a supported aria-errormessage technique"},fail:function(e){var t="aria-errormessage value"+(e.data&&1<e.data.length?"s":"")+" ",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" `"+r[a+=1];return t+="` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)"}}},"aria-valid-attr":{impact:"critical",messages:{pass:function(e){return"ARIA attribute name"+(e.data&&1<e.data.length?"s":"")+" are valid"},fail:function(e){var t="Invalid ARIA attribute name"+(e.data&&1<e.data.length?"s":"")+":",r=e.data;if(r)for(var a=-1,n=r.length-1;a<n;)t+=" "+r[a+=1];return t}}},caption:{impact:"critical",messages:{pass:function(e){return"The multimedia element has a captions track"},incomplete:function(e){return"Check that captions is available for the element"}}},"autocomplete-valid":{impact:"serious",messages:{pass:function(e){return"the autocomplete attribute is correctly formatted"},fail:function(e){return"the autocomplete attribute is incorrectly formatted"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:function(e){return"the autocomplete value is on an appropriate element"},fail:function(e){return"the autocomplete value is inappropriate for this type of input"}}},"is-on-screen":{impact:"serious",messages:{pass:function(e){return"Element is not visible"},fail:function(e){return"Element is visible"}}},"non-empty-if-present":{impact:"critical",messages:{pass:function(e){var t="Element ";return e.data?t+="has a non-empty value attribute":t+="does not have a value attribute",t},fail:function(e){return"Element has a value attribute and the value attribute is empty"}}},"non-empty-value":{impact:"critical",messages:{pass:function(e){return"Element has a non-empty value attribute"},fail:function(e){return"Element has no value attribute or the value attribute is empty"}}},"button-has-visible-text":{impact:"critical",messages:{pass:function(e){return"Element has inner text that is visible to screen readers"},fail:function(e){return"Element does not have inner text that is visible to screen readers"}}},"role-presentation":{impact:"minor",messages:{pass:function(e){return'Element\'s default semantics were overriden with role="presentation"'},fail:function(e){return'Element\'s default semantics were not overridden with role="presentation"'}}},"role-none":{impact:"minor",messages:{pass:function(e){return'Element\'s default semantics were overriden with role="none"'},fail:function(e){return'Element\'s default semantics were not overridden with role="none"'}}},"focusable-no-name":{impact:"serious",messages:{pass:function(e){return"Element is not in tab order or has accessible text"},fail:function(e){return"Element is in tab order and does not have accessible text"}}},"internal-link-present":{impact:"serious",messages:{pass:function(e){return"Valid skip link found"},fail:function(e){return"No valid skip link found"}}},"header-present":{impact:"serious",messages:{pass:function(e){return"Page has a header"},fail:function(e){return"Page does not have a header"}}},landmark:{impact:"serious",messages:{pass:function(e){return"Page has a landmark region"},fail:function(e){return"Page does not have a landmark region"}}},"group-labelledby":{impact:"critical",messages:{pass:function(e){return'All elements with the name "'+e.data.name+'" reference the same element with aria-labelledby'},fail:function(e){return'All elements with the name "'+e.data.name+'" do not reference the same element with aria-labelledby'}}},fieldset:{impact:"critical",messages:{pass:function(e){return"Element is contained in a fieldset"},fail:function(e){var t="",r=e.data&&e.data.failureCode;return t+="no-legend"===r?"Fieldset does not have a legend as its first child":"empty-legend"===r?"Legend does not have text that is visible to screen readers":"mixed-inputs"===r?"Fieldset contains unrelated inputs":"no-group-label"===r?"ARIA group does not have aria-label or aria-labelledby":"group-mixed-inputs"===r?"ARIA group contains unrelated inputs":"Element does not have a containing fieldset or ARIA group"}}},"color-contrast":{impact:"serious",messages:{pass:function(e){return"Element has sufficient color contrast of "+e.data.contrastRatio},fail:function(e){return"Element has insufficient color contrast of "+e.data.contrastRatio+" (foreground color: "+e.data.fgColor+", background color: "+e.data.bgColor+", font size: "+e.data.fontSize+", font weight: "+e.data.fontWeight+"). Expected contrast ratio of "+e.data.expectedContrastRatio},incomplete:{bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",default:"Unable to determine contrast ratio"}}},"css-orientation-lock":{impact:"serious",messages:{pass:function(e){return"Display is operable, and orientation lock does not exist"},fail:function(e){return"CSS Orientation lock is applied, and makes display inoperable"}}},"structured-dlitems":{impact:"serious",messages:{pass:function(e){return"When not empty, element has both <dt> and <dd> elements"},fail:function(e){return"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}}},"only-dlitems":{impact:"serious",messages:{pass:function(e){return"List element only has direct children that are allowed inside <dt> or <dd> elements"},fail:function(e){return"List element has direct children that are not allowed inside <dt> or <dd> elements"}}},dlitem:{impact:"serious",messages:{pass:function(e){return"Description list item has a <dl> parent element"},fail:function(e){return"Description list item does not have a <dl> parent element"}}},"doc-has-title":{impact:"serious",messages:{pass:function(e){return"Document has a non-empty <title> element"},fail:function(e){return"Document does not have a non-empty <title> element"}}},"duplicate-id-active":{impact:"serious",messages:{pass:function(e){return"Document has no active elements that share the same id attribute"},fail:function(e){return"Document has active elements with the same id attribute: "+e.data}}},"duplicate-id-aria":{impact:"critical",messages:{pass:function(e){return"Document has no elements referenced with ARIA or labels that share the same id attribute"},fail:function(e){return"Document has multiple elements referenced with ARIA with the same id attribute: "+e.data}}},"duplicate-id":{impact:"minor",messages:{pass:function(e){return"Document has no static elements that share the same id attribute"},fail:function(e){return"Document has multiple static elements with the same id attribute"}}},"has-visible-text":{impact:"minor",messages:{pass:function(e){return"Element has text that is visible to screen readers"},fail:function(e){return"Element does not have text that is visible to screen readers"}}},"has-widget-role":{impact:"minor",messages:{pass:function(e){return"Element has a widget role."},fail:function(e){return"Element does not have a widget role."}}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:function(e){return"Element has valid semantics for an element in the focus order."},fail:function(e){return"Element has invalid semantics for an element in the focus order."}}},"frame-tested":{impact:"critical",messages:{pass:function(e){return"The iframe was tested with axe-core"},fail:function(e){return"The iframe could not be tested with axe-core"},incomplete:function(e){return"The iframe still has to be tested with axe-core"}}},"unique-frame-title":{impact:"serious",messages:{pass:function(e){return"Element's title attribute is unique"},fail:function(e){return"Element's title attribute is not unique"}}},"heading-order":{impact:"moderate",messages:{pass:function(e){return"Heading order valid"},fail:function(e){return"Heading order invalid"}}},"hidden-content":{impact:"minor",messages:{pass:function(e){return"All content on the page has been analyzed."},fail:function(e){return"There were problems analyzing the content on this page."},incomplete:function(e){return"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},"has-lang":{impact:"serious",messages:{pass:function(e){return"The <html> element has a lang attribute"},fail:function(e){return"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:function(e){return"Value of lang attribute is included in the list of valid languages"},fail:function(e){return"Value of lang attribute not included in the list of valid languages"}}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:function(e){return"Lang and xml:lang attributes have the same base language"},fail:function(e){return"Lang and xml:lang attributes do not have the same base language"}}},"has-alt":{impact:"critical",messages:{pass:function(e){return"Element has an alt attribute"},fail:function(e){return"Element does not have an alt attribute"}}},"duplicate-img-label":{impact:"minor",messages:{pass:function(e){return"Element does not duplicate existing text in <img> alt text"},fail:function(e){return"Element contains <img> element with alt text that duplicates existing text"}}},"title-only":{impact:"serious",messages:{pass:function(e){return"Form element does not solely use title attribute for its label"},fail:function(e){return"Only title used to generate label for form element"}}},"implicit-label":{impact:"critical",messages:{pass:function(e){return"Form element has an implicit (wrapped) <label>"},fail:function(e){return"Form element does not have an implicit (wrapped) <label>"}}},"explicit-label":{impact:"critical",messages:{pass:function(e){return"Form element has an explicit <label>"},fail:function(e){return"Form element does not have an explicit <label>"}}},"help-same-as-label":{impact:"minor",messages:{pass:function(e){return"Help text (title or aria-describedby) does not duplicate label text"},fail:function(e){return"Help text (title or aria-describedby) text is the same as the label text"}}},"multiple-label":{impact:"serious",messages:{pass:function(e){return"Form element does not have multiple <label> elements"},fail:function(e){return"Form element has multiple <label> elements"}}},"hidden-explicit-label":{impact:"critical",messages:{pass:function(e){return"Form element has a visible explicit <label>"},fail:function(e){return"Form element has explicit <label> that is hidden"}}},"landmark-is-top-level":{impact:"moderate",messages:{pass:function(e){return"The "+e.data.role+" landmark is at the top level."},fail:function(e){return"The "+e.data.role+" landmark is contained in another landmark."}}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:function(e){return"Document has no more than one banner landmark"},fail:function(e){return"Document has more than one banner landmark"}}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:function(e){return"Page does not have more than one contentinfo landmark"},fail:function(e){return"Page has more than one contentinfo landmark"}}},"page-has-main":{impact:"moderate",messages:{pass:function(e){return"Page has at least one main landmark"},fail:function(e){return"Page does not have a main landmark"}}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:function(e){return"Page does not have more than one main landmark"},fail:function(e){return"Page has more than one main landmark"}}},"has-th":{impact:"serious",messages:{pass:function(e){return"Layout table does not use <th> elements"},fail:function(e){return"Layout table uses <th> elements"}}},"has-caption":{impact:"serious",messages:{pass:function(e){return"Layout table does not use <caption> element"},fail:function(e){return"Layout table uses <caption> element"}}},"has-summary":{impact:"serious",messages:{pass:function(e){return"Layout table does not use summary attribute"},fail:function(e){return"Layout table uses summary attribute"}}},"link-in-text-block":{impact:"serious",messages:{pass:function(e){return"Links can be distinguished from surrounding text in some way other than by color"},fail:function(e){return"Links need to be distinguished from surrounding text in some way other than by color"},incomplete:{bgContrast:"Element's contrast ratio could not be determined. Check for a distinct hover/focus style",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap",default:"Unable to determine contrast ratio"}}},"only-listitems":{impact:"serious",messages:{pass:function(e){return"List element only has direct children that are allowed inside <li> elements"},fail:function(e){return"List element has direct children that are not allowed inside <li> elements"}}},listitem:{impact:"serious",messages:{pass:function(e){return'List item has a <ul>, <ol> or role="list" parent element'},fail:function(e){return'List item does not have a <ul>, <ol> or role="list" parent element'}}},"meta-refresh":{impact:"critical",messages:{pass:function(e){return"<meta> tag does not immediately refresh the page"},fail:function(e){return"<meta> tag forces timed refresh of page"}}},"meta-viewport-large":{impact:"minor",messages:{pass:function(e){return"<meta> tag does not prevent significant zooming on mobile devices"},fail:function(e){return"<meta> tag limits zooming on mobile devices"}}},"meta-viewport":{impact:"critical",messages:{pass:function(e){return"<meta> tag does not disable zooming on mobile devices"},fail:function(e){return e.data+" on <meta> tag disables zooming on mobile devices"}}},"p-as-heading":{impact:"serious",messages:{pass:function(e){return"<p> elements are not styled as headings"},fail:function(e){return"Heading elements should be used instead of styled p elements"}}},"page-has-heading-one":{impact:"moderate",messages:{pass:function(e){return"Page has at least one level-one heading"},fail:function(e){return"Page must have a level-one heading"}}},region:{impact:"moderate",messages:{pass:function(e){return"All page content is contained by landmarks"},fail:function(e){return"Some page content is not contained by landmarks"}}},"html5-scope":{impact:"moderate",messages:{pass:function(e){return"Scope attribute is only used on table header elements (<th>)"},fail:function(e){return"In HTML 5, scope attributes may only be used on table header elements (<th>)"}}},"scope-value":{impact:"critical",messages:{pass:function(e){return"Scope attribute is used correctly"},fail:function(e){return"The value of the scope attribute may only be 'row' or 'col'"}}},exists:{impact:"minor",messages:{pass:function(e){return"Element does not exist"},fail:function(e){return"Element exists"}}},"skip-link":{impact:"moderate",messages:{pass:function(e){return"Skip link target exists"},incomplete:function(e){return"Skip link target should become visible on activation"},fail:function(e){return"No skip link target"}}},tabindex:{impact:"serious",messages:{pass:function(e){return"Element does not have a tabindex greater than 0"},fail:function(e){return"Element has a tabindex greater than 0"}}},"same-caption-summary":{impact:"minor",messages:{pass:function(e){return"Content of summary attribute and <caption> are not duplicated"},fail:function(e){return"Content of summary attribute and <caption> element are identical"}}},"caption-faked":{impact:"serious",messages:{pass:function(e){return"The first row of a table is not used as a caption"},fail:function(e){return"The first row of the table should be a caption instead of a table cell"}}},"td-has-header":{impact:"critical",messages:{pass:function(e){return"All non-empty data cells have table headers"},fail:function(e){return"Some non-empty data cells do not have table headers"}}},"td-headers-attr":{impact:"serious",messages:{pass:function(e){return"The headers attribute is exclusively used to refer to other cells in the table"},fail:function(e){return"The headers attribute is not exclusively used to refer to other cells in the table"}}},"th-has-data-cells":{impact:"serious",messages:{pass:function(e){return"All table header cells refer to data cells"},fail:function(e){return"Not all table header cells refer to data cells"},incomplete:function(e){return"Table data cells are missing or empty"}}},description:{impact:"critical",messages:{pass:function(e){return"The multimedia element has an audio description track"},incomplete:function(e){return"Check that audio description is available for the element"}}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var a=-1,n=r.length-1;a<n;)t+="\n "+r[a+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var a=-1,n=r.length-1;a<n;)t+="\n "+r[a+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:function(e){return"aXe couldn't tell the reason. Time to break out the element inspector!"}},rules:[{id:"accesskeys",selector:"[accesskey]",excludeHidden:!1,tags:["best-practice","cat.keyboard"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"],all:[],any:["non-empty-alt","non-empty-title","aria-label","aria-labelledby"],none:[]},{id:"aria-allowed-attr",matches:function(e,t){var r=e.getAttribute("role");r||(r=axe.commons.aria.implicitRole(e));var a=axe.commons.aria.allowedAttr(r);if(r&&a){var n=/^aria-/;if(e.hasAttributes())for(var o=e.attributes,i=0,s=o.length;i<s;i++)if(n.test(o[i].name))return!0}return!1},tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-allowed-attr"],none:[]},{id:"aria-allowed-role",excludeHidden:!1,selector:"[role]",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-dpub-role-fallback",selector:"[role]",matches:function(e,t){var r=e.getAttribute("role");return["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"].includes(r)},tags:["cat.aria","wcag2a","wcag131"],all:["implicit-role-fallback"],any:[],none:[]},{id:"aria-hidden-body",selector:"body",excludeHidden:!1,tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-required-attr",selector:"[role]",tags:["cat.aria","wcag2a","wcag412"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",selector:"[role]",tags:["cat.aria","wcag2a","wcag131"],all:[],any:[{options:{reviewEmpty:["listbox"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",selector:"[role]",tags:["cat.aria","wcag2a","wcag131"],all:[],any:["aria-required-parent"],none:[]},{id:"aria-roles",selector:"[role]",tags:["cat.aria","wcag2a","wcag412"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-valid-attr-value",matches:function(e,t){var r=/^aria-/;if(e.hasAttributes())for(var a=e.attributes,n=0,o=a.length;n<o;n++)if(r.test(a[n].name))return!0;return!1},tags:["cat.aria","wcag2a","wcag412"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage"],any:[],none:[]},{id:"aria-valid-attr",matches:function(e,t){var r=/^aria-/;if(e.hasAttributes())for(var a=e.attributes,n=0,o=a.length;n<o;n++)if(r.test(a[n].name))return!0;return!1},tags:["cat.aria","wcag2a","wcag412"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","section508","section508.22.a"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",matches:function(e,t){var r=axe.commons,a=r.text,n=r.aria,o=r.dom,i=e.getAttribute("autocomplete");if(!i||""===a.sanitize(i))return!1;var s=e.nodeName.toUpperCase();if(!1===["TEXTAREA","INPUT","SELECT"].includes(s))return!1;if("INPUT"===s&&["submit","reset","button","hidden"].includes(e.type))return!1;var l=e.getAttribute("aria-disabled")||"false";if(e.disabled||"true"===l.toLowerCase())return!1;var u=e.getAttribute("role"),c=e.getAttribute("tabindex");if("-1"===c&&u){var d=n.lookupTable.role[u];if(void 0===d||"widget"!==d.type)return!1}return!("-1"===c&&!o.isVisible(e,!1)&&!o.isVisible(e,!0))},tags:["cat.forms","wcag21aa","wcag135"],all:["autocomplete-valid","autocomplete-appropriate"],any:[],none:[]},{id:"blink",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",selector:'button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]',tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a"],all:[],any:["non-empty-if-present","non-empty-value","button-has-visible-text","aria-label","aria-labelledby","role-presentation","role-none","non-empty-title"],none:["focusable-no-name"]},{id:"bypass",selector:"html",pageLevel:!0,matches:function(e,t){return!!e.querySelector("a[href]")},tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o"],all:[],any:["internal-link-present","header-present","landmark"],none:[]},{id:"checkboxgroup",selector:"input[type=checkbox][name]",tags:["cat.forms","best-practice"],all:[],any:["group-labelledby","fieldset"],none:[]},{id:"color-contrast",matches:function(e,t){var r=e.nodeName.toUpperCase(),a=e.type;if("true"===e.getAttribute("aria-disabled")||axe.commons.dom.findUpVirtual(t,'[aria-disabled="true"]'))return!1;if("INPUT"===r)return-1===["hidden","range","color","checkbox","radio","image"].indexOf(a)&&!e.disabled;if("SELECT"===r)return!!e.options.length&&!e.disabled;if("TEXTAREA"===r)return!e.disabled;if("OPTION"===r)return!1;if("BUTTON"===r&&e.disabled||axe.commons.dom.findUpVirtual(t,"button[disabled]"))return!1;if("FIELDSET"===r&&e.disabled||axe.commons.dom.findUpVirtual(t,"fieldset[disabled]"))return!1;var n=axe.commons.dom.findUpVirtual(t,"label");if("LABEL"===r||n){var o=e,i=t;n&&(o=n,i=axe.utils.getNodeFromTree(axe._tree[0],n));var s=axe.commons.dom.getRootNode(o);if((l=o.htmlFor&&s.getElementById(o.htmlFor))&&l.disabled)return!1;if((l=axe.utils.querySelectorAll(i,'input:not([type="hidden"]):not([type="image"]):not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea')).length&&l[0].actualNode.disabled)return!1}if(e.getAttribute("id")){var l,u=axe.commons.utils.escapeSelector(e.getAttribute("id"));if((l=axe.commons.dom.getRootNode(e).querySelector("[aria-labelledby~="+u+"]"))&&l.disabled)return!1}if(""===axe.commons.text.visibleVirtual(t,!1,!0))return!1;var c,d,m=document.createRange(),p=t.children,f=p.length;for(d=0;d<f;d++)3===(c=p[d]).actualNode.nodeType&&""!==axe.commons.text.sanitize(c.actualNode.nodeValue)&&m.selectNodeContents(c.actualNode);var h=m.getClientRects();for(f=h.length,d=0;d<f;d++)if(axe.commons.dom.visuallyOverlaps(h[d],e))return!0;return!1},excludeHidden:!1,options:{noScroll:!1},tags:["cat.color","wcag2aa","wcag143"],all:[],any:["color-contrast"],none:[]},{id:"css-orientation-lock",selector:"html",tags:["cat.structure","wcag262","wcag21aa","experimental"],all:["css-orientation-lock"],any:[],none:[],preload:!0},{id:"definition-list",selector:"dl",matches:function(e,t){return!e.getAttribute("role")},tags:["cat.structure","wcag2a","wcag131"],all:[],any:[],none:["structured-dlitems","only-dlitems"]},{id:"dlitem",selector:"dd, dt",matches:function(e,t){return!e.getAttribute("role")},tags:["cat.structure","wcag2a","wcag131"],all:[],any:["dlitem"],none:[]},{id:"document-title",selector:"html",matches:function(e,t){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},tags:["cat.text-alternatives","wcag2a","wcag242"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",selector:"[id]",matches:function(e,t){var r=axe.commons,a=r.dom,n=r.aria,o=e.getAttribute("id").trim(),i='*[id="'+axe.utils.escapeSelector(o)+'"]';return Array.from(a.getRootNode(e).querySelectorAll(i)).some(a.isFocusable)&&!n.isAccessibleRef(e)},excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",selector:"[id]",matches:function(e,t){return axe.commons.aria.isAccessibleRef(e)},excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",selector:"[id]",matches:function(e,t){var r=axe.commons,a=r.dom,n=r.aria,o=e.getAttribute("id").trim(),i='*[id="'+axe.utils.escapeSelector(o)+'"]';return Array.from(a.getRootNode(e).querySelectorAll(i)).every(function(e){return!a.isFocusable(e)})&&!n.isAccessibleRef(e)},excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag411"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:function(e,t){var r=void 0;return e.hasAttribute("role")&&(r=e.getAttribute("role").split(/\s+/i).filter(axe.commons.aria.isValidRole)),r&&0<r.length?r.includes("heading"):"heading"===axe.commons.aria.implicitRole(e)},tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:function(e,t){return axe.commons.dom.insertedIntoFocusOrder(e)},tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:[],id:"valid-scrollable-semantics"}],none:[]},{id:"frame-tested",selector:"frame, iframe",tags:["cat.structure","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",selector:"frame[title], iframe[title]",matches:function(e,t){var r=e.getAttribute("title");return!(!r||!axe.commons.text.sanitize(r).trim())},tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:["unique-frame-title"]},{id:"frame-title",selector:"frame, iframe",tags:["cat.text-alternatives","wcag2a","wcag241","wcag412","section508","section508.22.i"],all:[],any:["aria-label","aria-labelledby","non-empty-title","role-presentation","role-none"],none:[]},{id:"heading-order",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:function(e,t){var r=void 0;return e.hasAttribute("role")&&(r=e.getAttribute("role").split(/\s+/i).filter(axe.commons.aria.isValidRole)),r&&0<r.length?r.includes("heading"):"heading"===axe.commons.aria.implicitRole(e)},tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",selector:"*",excludeHidden:!1,tags:["cat.structure","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",selector:"html",tags:["cat.language","wcag2a","wcag311"],all:[],any:["has-lang"],none:[]},{id:"html-lang-valid",selector:"html[lang]",tags:["cat.language","wcag2a","wcag311"],all:[],any:[],none:["valid-lang"]},{id:"html-xml-lang-mismatch",selector:"html[lang][xml\\:lang]",matches:function(e,t){var r=axe.commons.utils.getBaseLang,a=r(e.getAttribute("lang")),n=r(e.getAttribute("xml:lang"));return axe.utils.validLangs().includes(a)&&axe.utils.validLangs().includes(n)},tags:["cat.language","wcag2a","wcag311"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"image-alt",selector:"img, [role='img']:not(svg)",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"],all:[],any:["has-alt","aria-label","aria-labelledby","non-empty-title","role-presentation","role-none"],none:[]},{id:"image-redundant-alt",selector:'button, [role="button"], a[href], p, li, td, th',tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:["duplicate-img-label"]},{id:"input-image-alt",selector:'input[type="image"]',tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"],all:[],any:["non-empty-alt","aria-label","aria-labelledby","non-empty-title"],none:[]},{id:"label-title-only",selector:"input, select, textarea",matches:function(e,t){if("input"!==e.nodeName.toLowerCase()||!1===e.hasAttribute("type"))return!0;var r=e.getAttribute("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",selector:"input, select, textarea",matches:function(e,t){if("input"!==e.nodeName.toLowerCase()||!1===e.hasAttribute("type"))return!0;var r=e.getAttribute("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},tags:["cat.forms","wcag2a","wcag332","wcag131","section508","section508.22.n"],all:[],any:["aria-label","aria-labelledby","implicit-label","explicit-label","non-empty-title"],none:["help-same-as-label","multiple-label","hidden-explicit-label"]},{id:"landmark-banner-is-top-level",selector:"header:not([role]), [role=banner]",matches:function(e,t){return e.hasAttribute("role")||!axe.commons.dom.findUpVirtual(t,"article, aside, main, nav, section")},tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",selector:"footer:not([role]), [role=contentinfo]",matches:function(e,t){return e.hasAttribute("role")||!axe.commons.dom.findUpVirtual(t,"article, aside, main, nav, section")},tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",selector:"html",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",nativeScopeFilter:"article, aside, main, nav, section"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",selector:"html",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",nativeScopeFilter:"article, aside, main, nav, section"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-one-main",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']"},id:"page-has-main"},{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],any:[],none:[]},{id:"layout-table",selector:"table",matches:function(e,t){var r=(e.getAttribute("role")||"").toLowerCase();return!(("presentation"===r||"none"===r)&&!axe.commons.dom.isFocusable(e)||axe.commons.table.isDataTable(e))},tags:["cat.semantics","wcag2a","wcag131"],all:[],any:[],none:["has-th","has-caption","has-summary"]},{id:"link-in-text-block",selector:"a[href], [role=link]",matches:function(e,t){var r=axe.commons.text.sanitize(e.textContent),a=e.getAttribute("role");return(!a||"link"===a)&&(!!r&&(!!axe.commons.dom.isVisible(e,!1)&&axe.commons.dom.isInTextBlock(e)))},excludeHidden:!1,tags:["cat.color","experimental","wcag2a","wcag141"],all:["link-in-text-block"],any:[],none:[]},{id:"link-name",selector:"a[href], [role=link][href]",matches:function(e,t){return"button"!==e.getAttribute("role")},tags:["cat.name-role-value","wcag2a","wcag412","wcag244","section508","section508.22.a"],all:[],any:["has-visible-text","aria-label","aria-labelledby","role-presentation","role-none"],none:["focusable-no-name"]},{id:"list",selector:"ul, ol",matches:function(e,t){return!e.getAttribute("role")},tags:["cat.structure","wcag2a","wcag131"],all:[],any:[],none:["only-listitems"]},{id:"listitem",selector:"li",matches:function(e,t){return!e.getAttribute("role")},tags:["cat.structure","wcag2a","wcag131"],all:[],any:["listitem"],none:[]},{id:"marquee",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh",selector:'meta[http-equiv="refresh"]',excludeHidden:!1,tags:["cat.time","wcag2a","wcag2aaa","wcag221","wcag224","wcag325"],all:[],any:["meta-refresh"],none:[]},{id:"meta-viewport-large",selector:'meta[name="viewport"]',excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",selector:'meta[name="viewport"]',excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"object-alt",selector:"object",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a"],all:[],any:["has-visible-text","aria-label","aria-labelledby","non-empty-title"],none:[]},{id:"p-as-heading",selector:"p",matches:function(e,t){var r=Array.from(e.parentNode.childNodes),a=e.textContent.trim();return!(0===a.length||2<=(a.match(/[.!?:;](?![.!?:;])/g)||[]).length)&&0!==r.slice(r.indexOf(e)+1).filter(function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()}).length},tags:["cat.semantics","wcag2a","wcag131","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}]},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:'h1:not([role]), [role="heading"][aria-level="1"]'},id:"page-has-heading-one"}],any:[],none:[]},{id:"radiogroup",selector:"input[type=radio][name]",tags:["cat.forms","best-practice"],all:[],any:["group-labelledby","fieldset"],none:[]},{id:"region",selector:"html",pageLevel:!0,tags:["cat.keyboard","best-practice"],all:[],any:["region"],none:[]},{id:"scope-attr-valid",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope","scope-value"],any:[],none:[]},{id:"server-side-image-map",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f"],all:[],any:[],none:["exists"]},{id:"skip-link",selector:"a[href]",matches:function(e,t){return/^#[^/!]/.test(e.getAttribute("href"))},tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"tabindex",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",selector:"table",matches:function(e,t){return axe.commons.table.isDataTable(e)},tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g"],all:["caption-faked"],any:[],none:[]},{id:"td-has-header",selector:"table",matches:function(e,t){if(axe.commons.table.isDataTable(e)){var r=axe.commons.table.toArray(e);return 3<=r.length&&3<=r[0].length&&3<=r[1].length&&3<=r[2].length}return!1},tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",selector:"table",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",selector:"table",matches:function(e,t){return axe.commons.table.isDataTable(e)},tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",selector:"[lang], [xml\\:lang]",matches:function(e,t){return"html"!==e.nodeName.toLowerCase()},tags:["cat.language","wcag2aa","wcag312"],all:[],any:[],none:["valid-lang"]},{id:"video-caption",selector:"video",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a"],all:[],any:[],none:["caption"]},{id:"video-description",selector:"video",excludeHidden:!1,tags:["cat.text-alternatives","wcag2aa","wcag125","section508","section508.22.b"],all:[],any:[],none:["description"]}],checks:[{id:"abstractrole",evaluate:function(e,t,r,a){return"abstract"===axe.commons.aria.getRoleType(e.getAttribute("role"))}},{id:"aria-allowed-attr",evaluate:function(e,t,r,a){t=t||{};var n,o,i,s=[],l=e.getAttribute("role"),u=e.attributes;if(l||(l=axe.commons.aria.implicitRole(e)),i=axe.commons.aria.allowedAttr(l),Array.isArray(t[l])&&(i=axe.utils.uniqueArray(t[l].concat(i))),l&&i)for(var c=0,d=u.length;c<d;c++)o=(n=u[c]).name,axe.commons.aria.validateAttr(o)&&!i.includes(o)&&s.push(o+'="'+n.nodeValue+'"');return!s.length||(this.data(s),!1)}},{id:"aria-allowed-role",evaluate:function(e,t,r,a){var n=t||{},o=n.allowImplicit,i=void 0===o||o,s=n.ignoredTags,l=void 0===s?[]:s,u=e.nodeName.toUpperCase();if(l.map(function(e){return e.toUpperCase()}).includes(u))return!0;var c=axe.commons.aria.getElementUnallowedRoles(e,i);return!c.length||(this.data(c),!1)},options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-hidden-body",evaluate:function(e,t,r,a){return"true"!==e.getAttribute("aria-hidden")}},{id:"aria-errormessage",evaluate:function(t,e,r,a){e=Array.isArray(e)?e:[];var n=t.getAttribute("aria-errormessage"),o=t.hasAttribute("aria-errormessage"),i=axe.commons.dom.getRootNode(t);return!(-1===e.indexOf(n)&&o&&!function(){var e=n&&i.getElementById(n);if(e)return"alert"===e.getAttribute("role")||"assertive"===e.getAttribute("aria-live")||-1<axe.utils.tokenList(t.getAttribute("aria-describedby")||"").indexOf(n)}())||(this.data(axe.utils.tokenList(n)),!1)}},{id:"has-widget-role",evaluate:function(e,t,r,a){var n=e.getAttribute("role");if(null===n)return!1;var o=axe.commons.aria.getRoleType(n);return"widget"===o||"composite"===o},options:[]},{id:"implicit-role-fallback",evaluate:function(e,t,r,a){var n=e.getAttribute("role");if(null===n||!axe.commons.aria.isValidRole(n))return!0;var o=axe.commons.aria.getRoleType(n);return axe.commons.aria.implicitRole(e)===o}},{id:"invalidrole",evaluate:function(e,t,r,a){return!axe.commons.aria.isValidRole(e.getAttribute("role"),{allowAbstract:!0})}},{id:"aria-required-attr",evaluate:function(e,t,r,a){t=t||{};var n=[];if(e.hasAttributes()){var o,i=e.getAttribute("role"),s=axe.commons.aria.requiredAttr(i);if(Array.isArray(t[i])&&(s=axe.utils.uniqueArray(t[i],s)),i&&s)for(var l=0,u=s.length;l<u;l++)o=s[l],e.getAttribute(o)||n.push(o)}return!n.length||(this.data(n),!1)}},{id:"aria-required-children",evaluate:function(e,t,m,r){var a=axe.commons.aria.requiredOwned,i=axe.commons.aria.implicitNodes,s=axe.commons.utils.matchesSelector,p=axe.commons.dom.idrefs,n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[];function f(e,t,r,a){if(null===e)return!1;var n=i(r),o=['[role="'+r+'"]'];return n&&(o=o.concat(n)),o=o.join(","),a&&s(e,o)||!!axe.utils.querySelectorAll(t,o)[0]}function h(e,t){var r,a;for(r=0,a=e.length;r<a;r++)if(null!==e[r]){var n=axe.utils.getNodeFromTree(axe._tree[0],e[r]);if(f(e[r],n,t,!0))return!0}return!1}var o=e.getAttribute("role"),l=a(o);if(!l)return!0;var u=!1,c=l.one;if(!c){u=!0;c=l.all}var d=function(e,t,r,a){var n,o=t.length,i=[],s=p(e,"aria-owns");for(n=0;n<o;n++){var l=t[n];if(f(e,m,l)||h(s,l)){if(!r)return null}else r&&i.push(l)}if("combobox"===a){var u=i.indexOf("textbox");0<=u&&"INPUT"===e.tagName&&["text","search","email","url","tel"].includes(e.type)&&i.splice(u,1);var c=i.indexOf("listbox"),d=e.getAttribute("aria-expanded");0<=c&&(!d||"false"===d)&&i.splice(c,1)}return i.length?i:!r&&t.length?t:null}(e,c,u,o);return!d||(this.data(d),!!n.includes(o)&&void 0)},options:{reviewEmpty:["listbox"]}},{id:"aria-required-parent",evaluate:function(e,t,r,a){function s(e){return(axe.commons.aria.implicitNodes(e)||[]).concat('[role="'+e+'"]').join(",")}function n(e,t,r){var a,n,o=e.actualNode.getAttribute("role"),i=[];if(t||(t=axe.commons.aria.requiredContext(o)),!t)return null;for(a=0,n=t.length;a<n;a++){if(r&&axe.utils.matchesSelector(e.actualNode,s(t[a])))return null;if(axe.commons.dom.findUpVirtual(e,s(t[a])))return null;i.push(t[a])}return i}var o=n(r);if(!o)return!0;var i=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=axe.commons.utils.escapeSelector(e.getAttribute("id"));(r=axe.commons.dom.getRootNode(e).querySelector("[aria-owns~="+a+"]"))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(i)for(var l=0,u=i.length;l<u;l++)if(!(o=n(axe.utils.getNodeFromTree(axe._tree[0],i[l]),o,!0)))return!0;return this.data(o),!1}},{id:"unsupportedrole",evaluate:function(e,t,r,a){return!axe.commons.aria.isValidRole(e.getAttribute("role"),{flagUnsupported:!0})}},{id:"aria-valid-attr-value",evaluate:function(e,t,r,a){t=Array.isArray(t)?t:[];for(var n,o,i=[],s=/^aria-/,l=e.attributes,u=["aria-errormessage"],c=0,d=l.length;c<d;c++)o=(n=l[c]).name,u.includes(o)||-1===t.indexOf(o)&&s.test(o)&&!axe.commons.aria.validateAttrValue(e,o)&&i.push(o+'="'+n.nodeValue+'"');return!i.length||(this.data(i),!1)},options:[]},{id:"aria-valid-attr",evaluate:function(e,t,r,a){t=Array.isArray(t)?t:[];for(var n,o=[],i=/^aria-/,s=e.attributes,l=0,u=s.length;l<u;l++)n=s[l].name,-1===t.indexOf(n)&&i.test(n)&&!axe.commons.aria.validateAttr(n)&&o.push(n);return!o.length||(this.data(o),!1)},options:[]},{id:"valid-scrollable-semantics",evaluate:function(e,t,r,a){var n,o,i,s={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},l={application:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};return(i=(n=e).getAttribute("role"))&&l[i.toLowerCase()]||(o=n.tagName.toUpperCase(),s[o]||!1)},options:[]},{id:"color-contrast",evaluate:function(e,t,r,a){var n=axe.commons,o=n.dom,i=n.color,s=n.text;if(!o.isVisible(e,!1))return!0;var l=!!(t||{}).noScroll,u=[],c=i.getBackgroundColor(e,u,l),d=i.getForegroundColor(e,l),m=window.getComputedStyle(e),p=parseFloat(m.getPropertyValue("font-size")),f=m.getPropertyValue("font-weight"),h=-1!==["bold","bolder","600","700","800","900"].indexOf(f),g=i.hasValidContrastRatio(c,d,p,h),b=Math.floor(100*g.contrastRatio)/100,y=void 0;null===c&&(y=i.incompleteData.get("bgColor"));var v=1===b,w=1===s.visibleVirtual(r,!1,!0).length;v?y=i.incompleteData.set("bgColor","equalRatio"):w&&(y="shortTextContent");var k={fgColor:d?d.toHexString():void 0,bgColor:c?c.toHexString():void 0,contrastRatio:g?b:void 0,fontSize:(72*p/96).toFixed(1)+"pt",fontWeight:h?"bold":"normal",missingData:y,expectedContrastRatio:g.expectedContrastRatio+":1"};return this.data(k),null===d||null===c||v||w&&!g.isValid?(y=null,i.incompleteData.clear(),void this.relatedNodes(u)):(g.isValid||this.relatedNodes(u),g.isValid)}},{id:"link-in-text-block",evaluate:function(e,t,r,a){var n=axe.commons,o=n.color,i=n.dom;function s(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var l=["block","list-item","table","flex","grid","inline-block"];function u(e){var t=window.getComputedStyle(e).getPropertyValue("display");return-1!==l.indexOf(t)||"table-"===t.substr(0,6)}if(u(e))return!1;for(var c,d,m=i.getComposedParent(e);1===m.nodeType&&!u(m);)m=i.getComposedParent(m);if(this.relatedNodes([m]),o.elementIsDistinct(e,m))return!0;if(c=o.getForegroundColor(e),d=o.getForegroundColor(m),c&&d){var p=s(c,d);if(1===p)return!0;if(3<=p)return axe.commons.color.incompleteData.set("fgColor","bgContrast"),this.data({missingData:axe.commons.color.incompleteData.get("fgColor")}),void axe.commons.color.incompleteData.clear();if(c=o.getBackgroundColor(e),d=o.getBackgroundColor(m),!c||!d||3<=s(c,d)){var f=void 0;return f=c&&d?"bgContrast":axe.commons.color.incompleteData.get("bgColor"),axe.commons.color.incompleteData.set("fgColor",f),this.data({missingData:axe.commons.color.incompleteData.get("fgColor")}),void axe.commons.color.incompleteData.clear()}return!1}}},{id:"autocomplete-appropriate",evaluate:function(e,t,r,a){if("INPUT"!==e.nodeName.toUpperCase())return!0;var n=["text","search","number"],o=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],"cc-exp":["text","search","month"],"street-address":[],tel:["text","search","tel"],"cc-exp-month":n,"cc-exp-year":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:o,photo:o,impp:o};"object"===(void 0===t?"undefined":T(t))&&Object.keys(t).forEach(function(e){i[e]||(i[e]=[]),i[e]=i[e].concat(t[e])});var s=e.getAttribute("autocomplete").split(/\s+/g).map(function(e){return e.toLowerCase()}),l=s[s.length-1],u=i[l];return void 0===u?"text"===e.type:u.includes(e.type)}},{id:"autocomplete-valid",evaluate:function(e,t,r,a){var n=e.getAttribute("autocomplete")||"";return axe.commons.text.isValidAutocomplete(n,t)}},{id:"fieldset",evaluate:function(e,t,r,a){var s,l=this;function u(e,t){return axe.commons.utils.toArray(e.querySelectorAll('select,textarea,button,input:not([name="'+t+'"]):not([type="hidden"])'))}var n={name:e.getAttribute("name"),type:e.getAttribute("type")},o=function(e){var t=axe.commons.utils.escapeSelector(e.actualNode.name),r=axe.commons.dom.getRootNode(e.actualNode).querySelectorAll('input[type="'+axe.commons.utils.escapeSelector(e.actualNode.type)+'"][name="'+t+'"]');if(r.length<2)return!0;var a,n,o=axe.commons.dom.findUpVirtual(e,"fieldset"),i=axe.commons.dom.findUpVirtual(e,'[role="group"]'+("radio"===e.actualNode.type?',[role="radiogroup"]':""));return i||o?o?function(e,t){var r=e.firstElementChild;if(!r||"LEGEND"!==r.nodeName.toUpperCase())return l.relatedNodes([e]),!(s="no-legend");if(!axe.commons.text.accessibleText(r))return l.relatedNodes([r]),!(s="empty-legend");var a=u(e,t);return!(a.length&&(l.relatedNodes(a),s="mixed-inputs"))}(o,t):function(e,t){var r=axe.commons.dom.idrefs(e,"aria-labelledby").some(function(e){return e&&axe.commons.text.accessibleText(e)}),a=e.getAttribute("aria-label");if(!(r||a&&axe.commons.text.sanitize(a)))return l.relatedNodes(e),!(s="no-group-label");var n=u(e,t);return!(n.length&&(l.relatedNodes(n),s="group-mixed-inputs"))}(i,t):(s="no-group",l.relatedNodes((a=r,n=e.actualNode,axe.commons.utils.toArray(a).filter(function(e){return e!==n}))),!1)}(r);return o||(n.failureCode=s),this.data(n),o},after:function(e,t){var a={};return e.filter(function(e){if(e.result)return!0;var t=e.data;if(t){if(a[t.type]=a[t.type]||{},!a[t.type][t.name])return a[t.type][t.name]=[t],!0;var r=a[t.type][t.name].some(function(e){return e.failureCode===t.failureCode});return r||a[t.type][t.name].push(t),!r}return!1})}},{id:"group-labelledby",evaluate:function(e,t,r,a){this.data({name:e.getAttribute("name"),type:e.getAttribute("type")});var n=axe.commons.dom.getRootNode(e),o=n.querySelectorAll('input[type="'+axe.commons.utils.escapeSelector(e.type)+'"][name="'+axe.commons.utils.escapeSelector(e.name)+'"]');return o.length<=1||0!==[].map.call(o,function(e){var t=e.getAttribute("aria-labelledby");return t?t.split(/\s+/):[]}).reduce(function(e,t){return e.filter(function(e){return t.includes(e)})}).filter(function(e){var t=n.getElementById(e);return t&&axe.commons.text.accessibleText(t,!0)}).length},after:function(e,t){var r={};return e.filter(function(e){var t=e.data;return!(!t||(r[t.type]=r[t.type]||{},r[t.type][t.name]))&&(r[t.type][t.name]=!0)})}},{id:"accesskeys",evaluate:function(e,t,r,a){return axe.commons.dom.isVisible(e,!1)&&(this.data(e.getAttribute("accesskey")),this.relatedNodes([e])),!0},after:function(e,t){var r={};return e.filter(function(e){if(!e.data)return!1;var t=e.data.toUpperCase();return r[t]?(r[t].relatedNodes.push(e.relatedNodes[0]),!1):((r[t]=e).relatedNodes=[],!0)}).map(function(e){return e.result=!!e.relatedNodes.length,e})}},{id:"focusable-no-name",evaluate:function(e,t,r,a){var n=e.getAttribute("tabindex");return!!(axe.commons.dom.isFocusable(e)&&-1<n)&&!axe.commons.text.accessibleTextVirtual(r)}},{id:"landmark-is-top-level",evaluate:function(e,t,r,a){var n=axe.commons.aria.getRolesByType("landmark"),o=axe.commons.dom.getComposedParent(e);for(this.data({role:e.getAttribute("role")||axe.commons.aria.implicitRole(e)});o;){var i=o.getAttribute("role");if(i||"form"===o.tagName.toLowerCase()||(i=axe.commons.aria.implicitRole(o)),i&&n.includes(i))return!1;o=axe.commons.dom.getComposedParent(o)}return!0}},{id:"page-has-heading-one",evaluate:function(e,t,r,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("visible-in-page requires options.selector to be a string");var n=axe.utils.querySelectorAll(r,t.selector);return this.relatedNodes(n.map(function(e){return e.actualNode})),0<n.length},after:function(e,t){return e.some(function(e){return!0===e.result})&&e.forEach(function(e){e.result=!0}),e},options:{selector:'h1:not([role]), [role="heading"][aria-level="1"]'}},{id:"page-has-main",evaluate:function(e,t,r,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("visible-in-page requires options.selector to be a string");var n=axe.utils.querySelectorAll(r,t.selector);return this.relatedNodes(n.map(function(e){return e.actualNode})),0<n.length},after:function(e,t){return e.some(function(e){return!0===e.result})&&e.forEach(function(e){e.result=!0}),e},options:{selector:"main:not([role]), [role='main']"}},{id:"page-no-duplicate-banner",evaluate:function(e,t,r,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("visible-in-page requires options.selector to be a string");var n=axe.utils.querySelectorAll(r,t.selector);return"string"==typeof t.nativeScopeFilter&&(n=n.filter(function(e){return e.actualNode.hasAttribute("role")||!axe.commons.dom.findUpVirtual(e,t.nativeScopeFilter)})),this.relatedNodes(n.map(function(e){return e.actualNode})),n.length<=1},options:{selector:"header:not([role]), [role=banner]",nativeScopeFilter:"article, aside, main, nav, section"}},{id:"page-no-duplicate-contentinfo",evaluate:function(e,t,r,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("visible-in-page requires options.selector to be a string");var n=axe.utils.querySelectorAll(r,t.selector);return"string"==typeof t.nativeScopeFilter&&(n=n.filter(function(e){return e.actualNode.hasAttribute("role")||!axe.commons.dom.findUpVirtual(e,t.nativeScopeFilter)})),this.relatedNodes(n.map(function(e){return e.actualNode})),n.length<=1},options:{selector:"footer:not([role]), [role=contentinfo]",nativeScopeFilter:"article, aside, main, nav, section"}},{id:"page-no-duplicate-main",evaluate:function(e,t,r,a){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("visible-in-page requires options.selector to be a string");var n=axe.utils.querySelectorAll(r,t.selector);return"string"==typeof t.nativeScopeFilter&&(n=n.filter(function(e){return e.actualNode.hasAttribute("role")||!axe.commons.dom.findUpVirtual(e,t.nativeScopeFilter)})),this.relatedNodes(n.map(function(e){return e.actualNode})),n.length<=1},options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:function(e,t,r,a){return e.tabIndex<=0}},{id:"duplicate-img-label",evaluate:function(e,t,r,a){var n=axe.commons.text.visibleVirtual(r,!0).toLowerCase();return""!==n&&axe.utils.querySelectorAll(r,"img").filter(function(e){var t=e.actualNode;return axe.commons.dom.isVisible(t)&&!["none","presentation"].includes(t.getAttribute("role"))}).some(function(e){return n===axe.commons.text.accessibleTextVirtual(e).toLowerCase()})}},{id:"explicit-label",evaluate:function(e,t,r,a){if(e.getAttribute("id")){var n=axe.commons.dom.getRootNode(e),o=axe.commons.utils.escapeSelector(e.getAttribute("id")),i=n.querySelector('label[for="'+o+'"]');if(i)return!axe.commons.dom.isVisible(i)||!!axe.commons.text.accessibleText(i)}return!1}},{id:"help-same-as-label",evaluate:function(e,t,r,a){var n=axe.commons.text.labelVirtual(r),o=e.getAttribute("title");if(!n)return!1;o||(o="",e.getAttribute("aria-describedby")&&(o=axe.commons.dom.idrefs(e,"aria-describedby").map(function(e){return e?axe.commons.text.accessibleText(e):""}).join("")));return axe.commons.text.sanitize(o)===axe.commons.text.sanitize(n)},enabled:!1},{id:"hidden-explicit-label",evaluate:function(e,t,r,a){if(e.getAttribute("id")){var n=axe.commons.dom.getRootNode(e),o=axe.commons.utils.escapeSelector(e.getAttribute("id")),i=n.querySelector('label[for="'+o+'"]');if(i&&!axe.commons.dom.isVisible(i))return!0}return!1}},{id:"implicit-label",evaluate:function(e,t,r,a){var n=axe.commons.dom.findUpVirtual(r,"label");return!!n&&!!axe.commons.text.accessibleTextVirtual(n)}},{id:"multiple-label",evaluate:function(e,t,r,a){var n=axe.commons.utils.escapeSelector(e.getAttribute("id")),o=Array.from(document.querySelectorAll('label[for="'+n+'"]')),i=e.parentNode;for(o.length&&(o=o.filter(function(e,t){if(0===t&&!axe.commons.dom.isVisible(e,!0)||axe.commons.dom.isVisible(e,!0))return e}));i;)"LABEL"===i.tagName&&-1===o.indexOf(i)&&o.push(i),i=i.parentNode;return this.relatedNodes(o),1<o.length}},{id:"title-only",evaluate:function(e,t,r,a){return!(axe.commons.text.labelVirtual(r)||!e.getAttribute("title")&&!e.getAttribute("aria-describedby"))}},{id:"has-lang",evaluate:function(e,t,r,a){return!!(e.getAttribute("lang")||e.getAttribute("xml:lang")||"").trim()}},{id:"valid-lang",evaluate:function(n,e,t,r){var o,a;return o=(e||axe.commons.utils.validLangs()).map(axe.commons.utils.getBaseLang),!!(a=["lang","xml:lang"].reduce(function(e,t){var r=n.getAttribute(t);if("string"!=typeof r)return e;var a=axe.commons.utils.getBaseLang(r);return""!==a&&-1===o.indexOf(a)&&e.push(t+'="'+n.getAttribute(t)+'"'),e},[])).length&&(this.data(a),!0)}},{id:"xml-lang-mismatch",evaluate:function(e,t,r,a){var n=axe.commons.utils.getBaseLang;return n(e.getAttribute("lang"))===n(e.getAttribute("xml:lang"))}},{id:"dlitem",evaluate:function(e,t,r,a){var n=axe.commons.dom.getComposedParent(e);if("DL"!==n.nodeName.toUpperCase())return!1;var o=(n.getAttribute("role")||"").toLowerCase();return!o||!axe.commons.aria.isValidRole(o)||"list"===o}},{id:"has-listitem",evaluate:function(e,t,r,a){return r.children.every(function(e){return"LI"!==e.actualNode.nodeName.toUpperCase()})}},{id:"listitem",evaluate:function(e,t,r,a){var n=axe.commons.dom.getComposedParent(e);if(n){var o=n.nodeName.toUpperCase(),i=(n.getAttribute("role")||"").toLowerCase();return"list"===i||(!i||!axe.commons.aria.isValidRole(i))&&["UL","OL"].includes(o)}}},{id:"only-dlitems",evaluate:function(e,t,r,a){var n=axe.commons,o=n.dom,i=n.aria,s=["definition","term","list"],l=r.children.reduce(function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===i.getRole(r)?e.concat(t.children):e.concat(t)},[]).reduce(function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&o.isVisible(r,!0,!1)){var n=i.getRole(r,{noImplicit:!0});("DT"!==a&&"DD"!==a||n)&&(s.includes(n)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e},{badNodes:[],hasNonEmptyTextNode:!1});return l.badNodes.length&&this.relatedNodes(l.badNodes),!!l.badNodes.length||l.hasNonEmptyTextNode}},{id:"only-listitems",evaluate:function(e,t,r,a){var d=axe.commons.dom,n=r.children.reduce(function(e,t){var r,a,n,o,i,s=t.actualNode,l=s.nodeName.toUpperCase();if(1===s.nodeType&&d.isVisible(s,!0,!1)){var u=(s.getAttribute("role")||"").toLowerCase(),c=(i=l,"listitem"===(o=u)||"LI"===i&&!o);e.hasListItem=(r=e.hasListItem,a=l,n=c,r||"LI"===a&&n||n),c&&(e.isEmpty=!1),"LI"!==l||c||e.liItemsWithRole++,"LI"===l||c||e.badNodes.push(s)}return 3===s.nodeType&&""!==s.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0),e},{badNodes:[],isEmpty:!0,hasNonEmptyTextNode:!1,hasListItem:!1,liItemsWithRole:0}),o=r.children.filter(function(e){return"LI"===e.actualNode.nodeName.toUpperCase()}),i=0<n.liItemsWithRole&&o.length===n.liItemsWithRole;return n.badNodes.length&&this.relatedNodes(n.badNodes),!(n.hasListItem||n.isEmpty&&!i)||!!n.badNodes.length||n.hasNonEmptyTextNode}},{id:"structured-dlitems",evaluate:function(e,t,r,a){var n=r.children;if(!n||!n.length)return!1;for(var o,i=!1,s=!1,l=0;l<n.length;l++){if("DT"===(o=n[l].actualNode.nodeName.toUpperCase())&&(i=!0),i&&"DD"===o)return!1;"DD"===o&&(s=!0)}return i||s}},{id:"caption",evaluate:function(e,t,r,a){return!axe.utils.querySelectorAll(r,"track").some(function(e){return"captions"===(e.actualNode.getAttribute("kind")||"").toLowerCase()})&&void 0}},{id:"description",evaluate:function(e,t,r,a){return!axe.utils.querySelectorAll(r,"track").some(function(e){return"descriptions"===(e.actualNode.getAttribute("kind")||"").toLowerCase()})&&void 0}},{id:"frame-tested",evaluate:function(e,t,r,a){var n=this.async(),o=Object.assign({isViolation:!1,timeout:500},t),i=o.isViolation,s=o.timeout,l=setTimeout(function(){l=setTimeout(function(){l=null,n(!i&&void 0)},0)},s);axe.utils.respondable(e.contentWindow,"axe.ping",null,void 0,function(){null!==l&&(clearTimeout(l),n(!0))})},options:{isViolation:!1}},{id:"css-orientation-lock",evaluate:function(e,t,r,a){var n=(a||{}).cssom,o=void 0===n?void 0:n;if(o&&o.length){var i=o.reduce(function(e,t){var r=t.sheet,a=t.root,n=t.shadowId,o=n||"topDocument";if(e[o]||(e[o]={root:a,rules:[]}),!r||!r.cssRules)return e;var i=Array.from(r.cssRules);return e[o].rules=e[o].rules.concat(i),e},{}),l=!1,u=[];return Object.keys(i).forEach(function(e){var t=i[e],s=t.root,r=t.rules.filter(function(e){return 4===e.type});if(r&&r.length){var a=r.filter(function(e){var t=e.cssText;return/orientation:\s+landscape/i.test(t)||/orientation:\s+portrait/i.test(t)});a&&a.length&&a.forEach(function(e){e.cssRules.length&&Array.from(e.cssRules).forEach(function(e){if(e.selectorText&&!(e.style.length<=0)){var t=e.style.transform||!1;if(t){var r=t.match(/rotate\(([^)]+)deg\)/),a=parseInt(r&&r[1]||0),n=a%90==0&&a%180!=0;if(n&&"HTML"!==e.selectorText.toUpperCase()){var o=e.selectorText,i=Array.from(s.querySelectorAll(o));i&&i.length&&(u=u.concat(i))}l=n}}})})}}),l?(u.length&&this.relatedNodes(u),!1):!0}}},{id:"meta-viewport-large",evaluate:function(e,t,r,a){t=t||{};for(var n,o=(e.getAttribute("content")||"").split(/[;,]/),i={},s=t.scaleMinimum||2,l=t.lowerBound||!1,u=0,c=o.length;u<c;u++){var d=(n=o[u].split("=")).shift().toLowerCase();d&&n.length&&(i[d.trim()]=n.shift().trim().toLowerCase())}return!!(l&&i["maximum-scale"]&&parseFloat(i["maximum-scale"])<l)||(l||"no"!==i["user-scalable"]?!(i["maximum-scale"]&&parseFloat(i["maximum-scale"])<s)||(this.data("maximum-scale"),!1):(this.data("user-scalable=no"),!1))},options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:function(e,t,r,a){t=t||{};for(var n,o=(e.getAttribute("content")||"").split(/[;,]/),i={},s=t.scaleMinimum||2,l=t.lowerBound||!1,u=0,c=o.length;u<c;u++){var d=(n=o[u].split("=")).shift().toLowerCase();d&&n.length&&(i[d.trim()]=n.shift().trim().toLowerCase())}return!!(l&&i["maximum-scale"]&&parseFloat(i["maximum-scale"])<l)||(l||"no"!==i["user-scalable"]?!(i["maximum-scale"]&&parseFloat(i["maximum-scale"])<s)||(this.data("maximum-scale"),!1):(this.data("user-scalable=no"),!1))},options:{scaleMinimum:2}},{id:"header-present",evaluate:function(e,t,r,a){return!!axe.utils.querySelectorAll(r,'h1, h2, h3, h4, h5, h6, [role="heading"]')[0]}},{id:"heading-order",evaluate:function(e,t,r,a){var n=e.getAttribute("aria-level");if(null!==n)return this.data(parseInt(n,10)),!0;var o=e.tagName.match(/H(\d)/);return o&&this.data(parseInt(o[1],10)),!0},after:function(e,t){if(e.length<2)return e;for(var r=e[0].data,a=1;a<e.length;a++)e[a].result&&e[a].data>r+1&&(e[a].result=!1),r=e[a].data;return e}},{id:"internal-link-present",evaluate:function(e,t,r,a){return axe.utils.querySelectorAll(r,"a[href]").some(function(e){return/^#[^/!]/.test(e.actualNode.getAttribute("href"))})}},{id:"landmark",evaluate:function(e,t,r,a){return 0<axe.utils.querySelectorAll(r,'main, [role="main"]').length}},{id:"meta-refresh",evaluate:function(e,t,r,a){var n=e.getAttribute("content")||"",o=n.split(/[;,]/);return""===n||"0"===o[0]}},{id:"p-as-heading",evaluate:function(e,t,r,a){var n=Array.from(e.parentNode.children),o=n.indexOf(e),i=(t=t||{}).margins||[],s=n.slice(o+1).find(function(e){return"P"===e.nodeName.toUpperCase()}),l=n.slice(0,o).reverse().find(function(e){return"P"===e.nodeName.toUpperCase()});function u(e){var t=window.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&void 0!==t;){var n=-1;if(0===(e=t).children.length)return e;for(;n++,""===(a=e.children[n].textContent.trim())&&n+1<e.children.length;);t=e.children[n]}return e}(e));return{fontWeight:function(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function c(r,a,e){return e.reduce(function(e,t){return e||(!t.size||r.fontSize/t.size>a.fontSize)&&(!t.weight||r.fontWeight-t.weight>a.fontWeight)&&(!t.italic||r.isItalic&&!a.isItalic)},!1)}var d=u(e),m=s?u(s):null,p=l?u(l):null;if(!m||!c(d,m,i))return!0;var f=axe.commons.dom.findUpVirtual(r,"blockquote");return!!(f&&"BLOCKQUOTE"===f.nodeName.toUpperCase()||p&&!c(d,p,i))&&void 0},options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}]}},{id:"region",evaluate:function(e,t,r,a){var n=axe.commons,l=n.dom,u=n.aria;var c=function(e){var t=axe.utils.querySelectorAll(e,"a[href]")[0];if(t&&axe.commons.dom.getElementByReference(t.actualNode,"href"))return t.actualNode}(r),d=u.getRolesByType("landmark"),m=d.reduce(function(e,t){return e.concat(u.implicitNodes(t))},[]).filter(function(e){return null!==e});var o=function e(t){var r,n,o,a,i,s=t.actualNode;return o=(n=t).actualNode,a=axe.commons.aria.getRole(o,{noImplicit:!0}),i=(o.getAttribute("aria-live")||"").toLowerCase().trim(),(a?"dialog"===a||d.includes(a):["assertive","polite"].includes(i)||m.some(function(e){var t=axe.utils.matchesSelector(o,e);if("form"!==o.tagName.toLowerCase())return t;var r=o.getAttribute("title"),a=r&&""!==r.trim()?axe.commons.text.sanitize(r):null;return t&&(!!u.labelVirtual(n)||!!a)}))||(r=t,c&&c===r.actualNode)||!l.isVisible(s,!0)?[]:l.hasContent(s,!0)?[s]:t.children.filter(function(e){return 1===e.actualNode.nodeType}).map(e).reduce(function(e,t){return e.concat(t)},[])}(r);return this.relatedNodes(o),0===o.length},after:function(e,t){return[e[0]]}},{id:"skip-link",evaluate:function(e,t,r,a){var n=axe.commons.dom.getElementByReference(e,"href");return!!n&&(axe.commons.dom.isVisible(n,!0)||void 0)}},{id:"unique-frame-title",evaluate:function(e,t,r,a){var n=axe.commons.text.sanitize(e.title).trim().toLowerCase();return this.data(n),!0},after:function(e,t){var r={};return e.forEach(function(e){r[e.data]=void 0!==r[e.data]?++r[e.data]:0}),e.forEach(function(e){e.result=!!r[e.data]}),e}},{id:"duplicate-id-active",evaluate:function(t,e,r,a){var n=t.getAttribute("id").trim();if(!n)return!0;var o=axe.commons.dom.getRootNode(t),i=Array.from(o.querySelectorAll('[id="'+axe.commons.utils.escapeSelector(n)+'"]')).filter(function(e){return e!==t});return i.length&&this.relatedNodes(i),this.data(n),0===i.length},after:function(e,t){var r=[];return e.filter(function(e){return-1===r.indexOf(e.data)&&(r.push(e.data),!0)})}},{id:"duplicate-id-aria",evaluate:function(t,e,r,a){var n=t.getAttribute("id").trim();if(!n)return!0;var o=axe.commons.dom.getRootNode(t),i=Array.from(o.querySelectorAll('[id="'+axe.commons.utils.escapeSelector(n)+'"]')).filter(function(e){return e!==t});return i.length&&this.relatedNodes(i),this.data(n),0===i.length},after:function(e,t){var r=[];return e.filter(function(e){return-1===r.indexOf(e.data)&&(r.push(e.data),!0)})}},{id:"duplicate-id",evaluate:function(t,e,r,a){var n=t.getAttribute("id").trim();if(!n)return!0;var o=axe.commons.dom.getRootNode(t),i=Array.from(o.querySelectorAll('[id="'+axe.commons.utils.escapeSelector(n)+'"]')).filter(function(e){return e!==t});return i.length&&this.relatedNodes(i),this.data(n),0===i.length},after:function(e,t){var r=[];return e.filter(function(e){return-1===r.indexOf(e.data)&&(r.push(e.data),!0)})}},{id:"aria-label",evaluate:function(e,t,r,a){var n=e.getAttribute("aria-label");return!(!n||!axe.commons.text.sanitize(n).trim())}},{id:"aria-labelledby",evaluate:function(e,t,r,a){return(0,axe.commons.dom.idrefs)(e,"aria-labelledby").some(function(e){return e&&axe.commons.text.accessibleText(e,!0)})}},{id:"button-has-visible-text",evaluate:function(e,t,r,a){var n=e.nodeName.toUpperCase(),o=e.getAttribute("role"),i=void 0;return("BUTTON"===n||"button"===o&&"INPUT"!==n)&&(i=axe.commons.text.accessibleTextVirtual(r),this.data(i),!!i)}},{id:"doc-has-title",evaluate:function(e,t,r,a){var n=document.title;return!(!n||!axe.commons.text.sanitize(n).trim())}},{id:"exists",evaluate:function(e,t,r,a){return!0}},{id:"has-alt",evaluate:function(e,t,r,a){var n=e.nodeName.toLowerCase();return e.hasAttribute("alt")&&("img"===n||"input"===n||"area"===n)}},{id:"has-visible-text",evaluate:function(e,t,r,a){return 0<axe.commons.text.accessibleTextVirtual(r).length}},{id:"is-on-screen",evaluate:function(e,t,r,a){return axe.commons.dom.isVisible(e,!1)&&!axe.commons.dom.isOffscreen(e)}},{id:"non-empty-alt",evaluate:function(e,t,r,a){var n=e.getAttribute("alt");return!(!n||!axe.commons.text.sanitize(n).trim())}},{id:"non-empty-if-present",evaluate:function(e,t,r,a){var n=e.nodeName.toUpperCase(),o=(e.getAttribute("type")||"").toLowerCase(),i=e.getAttribute("value");return this.data(i),!("INPUT"!==n||!["submit","reset"].includes(o))&&null===i}},{id:"non-empty-title",evaluate:function(e,t,r,a){var n=e.getAttribute("title");return!(!n||!axe.commons.text.sanitize(n).trim())}},{id:"non-empty-value",evaluate:function(e,t,r,a){var n=e.getAttribute("value");return!(!n||!axe.commons.text.sanitize(n).trim())}},{id:"role-none",evaluate:function(e,t,r,a){return"none"===e.getAttribute("role")}},{id:"role-presentation",evaluate:function(e,t,r,a){return"presentation"===e.getAttribute("role")}},{id:"caption-faked",evaluate:function(e,t,r,a){var n=axe.commons.table.toGrid(e),o=n[0];return n.length<=1||o.length<=1||e.rows.length<=1||o.reduce(function(e,t,r){return e||t!==o[r+1]&&void 0!==o[r+1]},!1)}},{id:"has-caption",evaluate:function(e,t,r,a){return!!e.caption}},{id:"has-summary",evaluate:function(e,t,r,a){return!!e.summary}},{id:"has-th",evaluate:function(e,t,r,a){for(var n,o,i=[],s=0,l=e.rows.length;s<l;s++)for(var u=0,c=(n=e.rows[s]).cells.length;u<c;u++)"TH"!==(o=n.cells[u]).nodeName.toUpperCase()&&-1===["rowheader","columnheader"].indexOf(o.getAttribute("role"))||i.push(o);return!!i.length&&(this.relatedNodes(i),!0)}},{id:"html5-scope",evaluate:function(e,t,r,a){return!axe.commons.dom.isHTML5(document)||"TH"===e.nodeName.toUpperCase()}},{id:"same-caption-summary",evaluate:function(e,t,r,a){return!(!e.summary||!e.caption)&&e.summary.toLowerCase()===axe.commons.text.accessibleText(e.caption).toLowerCase()}},{id:"scope-value",evaluate:function(e,t,r,a){t=t||{};var n=e.getAttribute("scope").toLowerCase();return-1!==["row","col","rowgroup","colgroup"].indexOf(n)}},{id:"td-has-header",evaluate:function(e,t,r,a){var n=axe.commons.table,o=[];return n.getAllCells(e).forEach(function(e){axe.commons.dom.hasContent(e)&&n.isDataCell(e)&&!axe.commons.aria.label(e)&&(n.getHeaders(e).some(function(e){return null!==e&&!!axe.commons.dom.hasContent(e)})||o.push(e))}),!o.length||(this.relatedNodes(o),!1)}},{id:"td-headers-attr",evaluate:function(e,t,r,a){for(var n=[],o=0,i=e.rows.length;o<i;o++)for(var s=e.rows[o],l=0,u=s.cells.length;l<u;l++)n.push(s.cells[l]);var c=n.reduce(function(e,t){return t.getAttribute("id")&&e.push(t.getAttribute("id")),e},[]),d=n.reduce(function(e,t){var r,a,n=(t.getAttribute("headers")||"").split(/\s/).reduce(function(e,t){return(t=t.trim())&&e.push(t),e},[]);return 0!==n.length&&(t.getAttribute("id")&&(r=-1!==n.indexOf(t.getAttribute("id").trim())),a=n.reduce(function(e,t){return e||-1===c.indexOf(t)},!1),(r||a)&&e.push(t)),e},[]);return!(0<d.length)||(this.relatedNodes(d),!1)}},{id:"th-has-data-cells",evaluate:function(e,t,r,a){var n=axe.commons.table,o=n.getAllCells(e),i=this,s=[];o.forEach(function(e){var t=e.getAttribute("headers");t&&(s=s.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(s=s.concat(r.split(/\s+/)))});var l=o.filter(function(e){return""!==axe.commons.text.sanitize(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))}),u=n.toGrid(e);return!!l.reduce(function(e,t){if(t.getAttribute("id")&&s.includes(t.getAttribute("id")))return!!e||e;var r=!1,a=n.getCellPosition(t,u);return n.isColumnHeader(t)&&(r=n.traverse("down",a,u).reduce(function(e,t){return e||axe.commons.dom.hasContent(t)&&!n.isColumnHeader(t)},!1)),!r&&n.isRowHeader(t)&&(r=n.traverse("right",a,u).reduce(function(e,t){return e||axe.commons.dom.hasContent(t)&&!n.isRowHeader(t)},!1)),r||i.relatedNodes(t),e&&r},!0)||void 0}},{id:"hidden-content",evaluate:function(e,t,r,a){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.tagName.toUpperCase())&&axe.commons.dom.hasContentVirtual(r)){var n=window.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var o=axe.commons.dom.getComposedParent(e),i=o&&window.getComputedStyle(o);if(!i||"hidden"!==i.getPropertyValue("visibility"))return}}return!0}}],commons:function(){var commons={},u=commons.aria={},e=u.lookupTable={};e.attributes={"aria-activedescendant":{type:"idref"},"aria-atomic":{type:"boolean",values:["true","false"]},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-busy":{type:"boolean",values:["true","false"]},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"]},"aria-colcount":{type:"int"},"aria-colindex":{type:"int"},"aria-colspan":{type:"int"},"aria-controls":{type:"idrefs"},"aria-current":{type:"nmtoken",values:["page","step","location","date","time","true","false"]},"aria-describedby":{type:"idrefs"},"aria-disabled":{type:"boolean",values:["true","false"]},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"]},"aria-errormessage":{type:"idref"},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs"},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"]},"aria-haspopup":{type:"nmtoken",values:["true","false","menu","listbox","tree","grid","dialog"]},"aria-hidden":{type:"boolean",values:["true","false"]},"aria-invalid":{type:"nmtoken",values:["true","false","spelling","grammar"]},"aria-keyshortcuts":{type:"string"},"aria-label":{type:"string"},"aria-labelledby":{type:"idrefs"},"aria-level":{type:"int"},"aria-live":{type:"nmtoken",values:["off","polite","assertive"]},"aria-modal":{type:"boolean",values:["true","false"]},"aria-multiline":{type:"boolean",values:["true","false"]},"aria-multiselectable":{type:"boolean",values:["true","false"]},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"]},"aria-owns":{type:"idrefs"},"aria-placeholder":{type:"string"},"aria-posinset":{type:"int"},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"]},"aria-readonly":{type:"boolean",values:["true","false"]},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"]},"aria-required":{type:"boolean",values:["true","false"]},"aria-rowcount":{type:"int"},"aria-rowindex":{type:"int"},"aria-rowspan":{type:"int"},"aria-selected":{type:"nmtoken",values:["true","false","undefined"]},"aria-setsize":{type:"int"},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string"}},e.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant"];var t={CANNOT_HAVE_LIST_ATTRIBUTE:function(e){return!Array.from(e.attributes).map(function(e){return e.name.toUpperCase()}).includes("LIST")},CANNOT_HAVE_HREF_ATTRIBUTE:function(e){return!Array.from(e.attributes).map(function(e){return e.name.toUpperCase()}).includes("HREF")},MUST_HAVE_HREF_ATTRIBUTE:function(e){return!!e.href},MUST_HAVE_SIZE_ATTRIBUTE_WITH_VALUE_GREATER_THAN_1:function(e){return!!Array.from(e.attributes).map(function(e){return e.name.toUpperCase()}).includes("SIZE")&&1<Number(e.getAttribute("SIZE"))},MUST_HAVE_ALT_ATTRIBUTE:function(e){return!!Array.from(e.attributes).map(function(e){return e.name.toUpperCase()}).includes("ALT")},MUST_HAVE_ALT_ATTRIBUTE_WITH_VALUE:function(e){if(!Array.from(e.attributes).map(function(e){return e.name.toUpperCase()}).includes("ALT"))return!1;var t=e.getAttribute("ALT");return t&&0<t.length}};e.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["DIALOG","SECTION"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ARTICLE","AUDIO","EMBED","IFRAME","OBJECT","SECTION","SVG","VIDEO"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["SECTION"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["BUTTON"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","textbox"]},nameFrom:["author"],context:null,unsupported:!1},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["SECTION"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["SECTION"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["SECTION"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["OL","UL"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["ARTICLE","EMBED","IFRAME","SECTION","SVG","OBJECT"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["LI"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["LI"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["doc-endnote"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["ASIDE","SECTION"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["ASIDE","FOOTER","HEADER"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["DL"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["NAV","SECTION"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["HR"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["NAV","SECTION"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["ASIDE","SECTION"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["H1","H2","H3","H4","H5","H6"]},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["ASIDE"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["NAV","SECTION"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ARTICLE","ASIDE","SECTION"]},figure:{type:"structure",unsupported:!0},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["DL","FIGCAPTION","FIELDSET","FIGURE","FOOTER","HEADER","OL","UL"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["EMBED","IFRAME","OBJECT","SVG"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]"],unsupported:!1,allowedElements:["BUTTON",{tagName:"INPUT",attributes:{TYPE:"IMAGE"}},{tagName:"INPUT",attributes:{TYPE:"IMAGE"}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["OL","UL"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["ARTICLE","SECTION"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["OL","UL"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["OL","UL"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["BUTTON","LI",{tagName:"INPUT",attributes:{TYPE:"IMAGE"}},{tagName:"INPUT",attributes:{TYPE:"BUTTON"}},{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:["BUTTON","LI",{tagName:"INPUT",attributes:{TYPE:"CHECKBOX"}},{tagName:"INPUT",attributes:{TYPE:"IMAGE"}},{tagName:"INPUT",attributes:{TYPE:"BUTTON"}},{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:["BUTTON","LI",{tagName:"INPUT",attributes:{TYPE:"IMAGE"}},{tagName:"INPUT",attributes:{TYPE:"BUTTON"}},{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["SECTION"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ARTICLE","ASIDE","DL","EMBED","FIGCAPTION","FIELDSET","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","LI","SECTION","OL",{tagName:"IMG",condition:t.MUST_HAVE_ALT_ATTRIBUTE}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ASIDE"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:["BUTTON","LI",{tagName:"INPUT",attributes:{TYPE:"CHECKBOX"}},{tagName:"INPUT",attributes:{TYPE:"BUTTON"}},{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ARTICLE","ASIDE","DL","EMBED","FIGCAPTION","FIELDSET","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HR","LI","OL","SECTION","UL",{tagName:"IMG",condition:t.MUST_HAVE_ALT_ATTRIBUTE}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:["BUTTON","LI",{tagName:"INPUT",attributes:{TYPE:"IMAGE"}},{tagName:"INPUT",attributes:{TYPE:"BUTTON"}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["OL","UL"]},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:["ARTICLE","ASIDE"]},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow","aria-valuemax","aria-valuemin"],allowed:["aria-valuetext","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ASIDE","FORM","SECTION"]},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["LI"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage"],required:["aria-valuenow","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage"],required:["aria-valuenow","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["SECTION"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["BUTTON",{tagName:"INPUT",attributes:{TYPE:"CHECKBOX"}},{tagName:"INPUT",attributes:{TYPE:"IMAGE"}},{tagName:"INPUT",attributes:{TYPE:"BUTTON"}},{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:["BUTTON","H1","H2","H3","H4","H5","H6","LI",{tagName:"INPUT",attributes:{TYPE:"BUTTON"}},{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["OL","UL"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["SECTION"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["OL","UL"]},tooltip:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["OL","UL"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["LI",{tagName:"A",condition:t.MUST_HAVE_HREF_ATTRIBUTE}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},e.elementsAllowedNoRole=[{tagName:"AREA",condition:t.MUST_HAVE_HREF_ATTRIBUTE},"BASE","BODY","CAPTION","COL","COLGROUP","DATALIST","DD","DETAILS","DT","HEAD","HTML",{tagName:"INPUT",attributes:{TYPE:"COLOR"}},{tagName:"INPUT",attributes:{TYPE:"DATE"}},{tagName:"INPUT",attributes:{TYPE:"DATETIME"}},{tagName:"INPUT",condition:t.CANNOT_HAVE_LIST_ATTRIBUTE,attributes:{TYPE:"EMAIL"}},{tagName:"INPUT",attributes:{TYPE:"FILE"}},{tagName:"INPUT",attributes:{TYPE:"HIDDEN"}},{tagName:"INPUT",attributes:{TYPE:"MONTH"}},{tagName:"INPUT",attributes:{TYPE:"NUMBER"}},{tagName:"INPUT",attributes:{TYPE:"PASSWORD"}},{tagName:"INPUT",attributes:{TYPE:"RANGE"}},{tagName:"INPUT",attributes:{TYPE:"RESET"}},{tagName:"INPUT",condition:t.CANNOT_HAVE_LIST_ATTRIBUTE,attributes:{TYPE:"SEARCH"}},{tagName:"INPUT",attributes:{TYPE:"SUBMIT"}},{tagName:"INPUT",condition:t.CANNOT_HAVE_LIST_ATTRIBUTE,attributes:{TYPE:"TEL"}},{tagName:"INPUT",condition:t.CANNOT_HAVE_LIST_ATTRIBUTE,attributes:{TYPE:"TEXT"}},{tagName:"INPUT",attributes:{TYPE:"TIME"}},{tagName:"INPUT",condition:t.CANNOT_HAVE_LIST_ATTRIBUTE,attributes:{TYPE:"URL"}},{tagName:"INPUT",attributes:{TYPE:"WEEK"}},"KEYGEN","LABEL","LEGEND",{tagName:"LINK",attributes:{TYPE:"HREF"}},"MAIN","MAP","MATH",{tagName:"MENU",attributes:{TYPE:"CONTEXT"}},{tagName:"MENUITEM",attributes:{TYPE:"COMMAND"}},{tagName:"MENUITEM",attributes:{TYPE:"CHECKBOX"}},{tagName:"MENUITEM",attributes:{TYPE:"RADIO"}},"META","METER","NOSCRIPT","OPTGROUP","PARAM","PICTURE","PROGRESS","SCRIPT",{tagName:"SELECT",condition:t.MUST_HAVE_SIZE_ATTRIBUTE_WITH_VALUE_GREATER_THAN_1,attributes:{TYPE:"MULTIPLE"}},"SOURCE","STYLE","TEMPLATE","TEXTAREA","TITLE","TRACK","CLIPPATH","CURSOR","DEFS","DESC","FEBLEND","FECOLORMATRIX","FECOMPONENTTRANSFER","FECOMPOSITE","FECONVOLVEMATRIX","FEDIFFUSELIGHTING","FEDISPLACEMENTMAP","FEDISTANTLIGHT","FEDROPSHADOW","FEFLOOD","FEFUNCA","FEFUNCB","FEFUNCG","FEFUNCR","FEGAUSSIANBLUR","FEIMAGE","FEMERGE","FEMERGENODE","FEMORPHOLOGY","FEOFFSET","FEPOINTLIGHT","FESPECULARLIGHTING","FESPOTLIGHT","FETILE","FETURBULENCE","FILTER","HATCH","HATCHPATH","LINEARGRADIENT","MARKER","MASK","MESHGRADIENT","MESHPATCH","MESHROW","METADATA","MPATH","PATTERN","RADIALGRADIENT","SOLIDCOLOR","STOP","SWITCH","VIEW"],e.elementsAllowedAnyRole=[{tagName:"A",condition:t.CANNOT_HAVE_HREF_ATTRIBUTE},"ABBR","ADDRESS","CANVAS","DIV","P","PRE","BLOCKQUOTE","INS","DEL","OUTPUT","SPAN","TABLE","TBODY","THEAD","TFOOT","TD","EM","STRONG","SMALL","S","CITE","Q","DFN","ABBR","TIME","CODE","VAR","SAMP","KBD","SUB","SUP","I","B","U","MARK","RUBY","RT","RP","BDI","BDO","BR","WBR","TH","TR"],e.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||(!t.href.length||r)},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,a=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:a},IMG:function(e){var t=e.node,r=e.out;return t.alt?!r:r},INPUT:function(e){var t=e.node,r=e.role,a=e.out;switch(t.type){case"button":case"image":return a;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||a;case"radio":return"menuitemradio"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!axe.utils.matchesSelector(t,"ol li, ul li")||r},LINK:function(e){return!e.node.href},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!axe.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}};var c={};commons.color=c;var y=commons.dom={},o=commons.table={},v=commons.text={EdgeFormDefaults:{}};commons.utils=axe.utils;function i(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(e){return e.trim().toLowerCase()})}u.requiredAttr=function(e){"use strict";var t=u.lookupTable.role[e];return t&&t.attributes&&t.attributes.required||[]},u.allowedAttr=function(e){"use strict";var t=u.lookupTable.role[e],r=t&&t.attributes&&t.attributes.allowed||[],a=t&&t.attributes&&t.attributes.required||[];return r.concat(u.lookupTable.globalAttributes).concat(a)},u.validateAttr=function(e){"use strict";return!!u.lookupTable.attributes[e]},u.validateAttrValue=function(e,t){"use strict";var r,a,n=e.getAttribute(t),o=u.lookupTable.attributes[t],i=y.getRootNode(e);if(!o)return!0;switch(o.type){case"boolean":case"nmtoken":return"string"==typeof n&&o.values.includes(n.toLowerCase());case"nmtokens":return(a=axe.utils.tokenList(n)).reduce(function(e,t){return e&&o.values.includes(t)},0!==a.length);case"idref":return 0===n.trim().length||!(!n||!i.getElementById(n));case"idrefs":return 0===n.trim().length||(a=axe.utils.tokenList(n)).some(function(e){return i.getElementById(e)});case"string":return!0;case"decimal":return!(!(r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":return/^[-+]?[0-9]+$/.test(n)}},u.getElementUnallowedRoles=function(t,r){var a=t.nodeName.toUpperCase();if(!axe.utils.isHtmlElement(t))return[];var e=function(e){var t=[];if(!e)return t;if(e.hasAttribute("role")){var r=axe.utils.tokenList(e.getAttribute("role").toLowerCase());t=t.concat(r)}if(e.hasAttributeNS("http://www.idpf.org/2007/ops","type")){var a=axe.utils.tokenList(e.getAttributeNS("http://www.idpf.org/2007/ops","type").toLowerCase()).map(function(e){return"doc-"+e});t=t.concat(a)}return t}(t),n=axe.commons.aria.implicitRole(t);return e.filter(function(e){return!!axe.commons.aria.isValidRole(e)&&(!(r||e!==n||"row"===e&&"TR"===a&&axe.utils.matchesSelector(t,'table[role="grid"] > tr'))||(!u.isAriaRoleAllowedOnElement(t,e)||void 0))})},u.getRole=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,a=t.fallback,n=t.abstracts,o=t.dpub,i=(e.getAttribute("role")||"").trim().toLowerCase(),s=(a?axe.utils.tokenList(i):[i]).filter(function(e){return!(!o&&"doc-"===e.substr(0,4))&&u.isValidRole(e,{allowAbstract:n})})[0];return s||r?s||null:u.implicitRole(e)},u.isAccessibleRef=function(e){e=e.actualNode||e;var t=y.getRootNode(e);t=t.documentElement||t;var a=e.id,n=Object.keys(u.lookupTable.attributes).filter(function(e){var t=u.lookupTable.attributes[e].type;return/^idrefs?$/.test(t)});return void 0!==function e(t,r){if(r(t))return t;for(var a=0;a<t.children.length;a++){var n=e(t.children[a],r);if(n)return n}}(t,function(r){if(1===r.nodeType)return"LABEL"===r.nodeName.toUpperCase()&&r.getAttribute("for")===a||n.filter(function(e){return r.hasAttribute(e)}).some(function(e){var t=r.getAttribute(e);return"idref"===u.lookupTable.attributes[e].type?t===a:axe.utils.tokenList(t).includes(a)})})},u.isAriaRoleAllowedOnElement=function(e,t){var r=e.nodeName.toUpperCase(),a=axe.commons.aria.lookupTable;if(u.validateNodeAndAttributes(e,a.elementsAllowedNoRole))return!1;if(u.validateNodeAndAttributes(e,a.elementsAllowedAnyRole))return!0;var n=a.role[t];if(!n)return!1;if(!(n.allowedElements&&Array.isArray(n.allowedElements)&&n.allowedElements.length))return!1;var o=!1;return o=u.validateNodeAndAttributes(e,n.allowedElements),Object.keys(a.evaluateRoleForElement).includes(r)&&(o=a.evaluateRoleForElement[r]({node:e,role:t,out:o})),o},u.labelVirtual=function(e){var t=e.actualNode,r=void 0;return t.getAttribute("aria-labelledby")&&(r=y.idrefs(t,"aria-labelledby").map(function(e){var t=axe.utils.getNodeFromTree(axe._tree[0],e);return t?v.visibleVirtual(t,!0):""}).join(" ").trim())?r:(r=t.getAttribute("aria-label"))&&(r=v.sanitize(r).trim())?r:null},u.label=function(e){return e=axe.utils.getNodeFromTree(axe._tree[0],e),u.labelVirtual(e)},u.isValidRole=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=void 0!==a&&a,o=u.lookupTable.role[e],i=!!o&&o.unsupported;return!(!o||n&&i)&&(!!r||"abstract"!==o.type)},u.getRolesWithNameFromContents=function(){return Object.keys(u.lookupTable.role).filter(function(e){return u.lookupTable.role[e].nameFrom&&-1!==u.lookupTable.role[e].nameFrom.indexOf("contents")})},u.getRolesByType=function(t){return Object.keys(u.lookupTable.role).filter(function(e){return u.lookupTable.role[e].type===t})},u.getRoleType=function(e){var t=u.lookupTable.role[e];return t&&t.type||null},u.requiredOwned=function(e){"use strict";var t=null,r=u.lookupTable.role[e];return r&&(t=axe.utils.clone(r.owned)),t},u.requiredContext=function(e){"use strict";var t=null,r=u.lookupTable.role[e];return r&&(t=axe.utils.clone(r.context)),t},u.implicitNodes=function(e){"use strict";var t=null,r=u.lookupTable.role[e];return r&&r.implicit&&(t=axe.utils.clone(r.implicit)),t},u.implicitRole=function(r){"use strict";var e=Object.keys(u.lookupTable.role).map(function(e){var t=u.lookupTable.role[e];return{name:e,implicit:t&&t.implicit}}).reduce(function(e,t){return t.implicit&&t.implicit.some(function(e){return axe.utils.matchesSelector(r,e)})&&e.push(t.name),e},[]);if(!e.length)return null;for(var t,a,n=r.attributes,o=[],i=0,s=n.length;i<s;i++){var l=n[i];l.name.match(/^aria-/)&&o.push(l.name)}return(t=e,a=o,t.map(function(e){return{score:(t=e,u.allowedAttr(t).reduce(function(e,t){return e+(-1<a.indexOf(t)?1:0)},0)),name:e};var t}).sort(function(e,t){return t.score-e.score}).map(function(e){return e.name})).shift()},u.validateNodeAndAttributes=function(a,e){var t=a.nodeName.toUpperCase();if(e.filter(function(e){return"string"==typeof e}).includes(t))return!0;var r=e.filter(function(e){return"object"===(void 0===e?"undefined":T(e))}).filter(function(e){return e.tagName===t}),n=Array.from(a.attributes).map(function(e){return e.name.toUpperCase()}),o=r.filter(function(t){if(!t.attributes)return!!t.condition;var e=Object.keys(t.attributes);if(!e.length)return!1;var r=!1;return e.forEach(function(e){n.includes(e)&&(a.getAttribute(e).trim().toUpperCase()===t.attributes[e]&&(r=!0))}),r});if(!o.length)return!1;var i=!0;return o.forEach(function(e){e.condition&&"function"==typeof e.condition&&(i=e.condition(a))}),i},c.Color=function(e,t,r,a){this.red=e,this.green=t,this.blue=r,this.alpha=a,this.toHexString=function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(15.5<this.red?e:"0"+e)+(15.5<this.green?t:"0"+t)+(15.5<this.blue?r:"0"+r)};var n=/^rgb\((\d+), (\d+), (\d+)\)$/,o=/^rgba\((\d+), (\d+), (\d+), (\d*(\.\d+)?)\)/;this.parseRgbString=function(e){if("transparent"===e)return this.red=0,this.green=0,this.blue=0,void(this.alpha=0);var t=e.match(n);return t?(this.red=parseInt(t[1],10),this.green=parseInt(t[2],10),this.blue=parseInt(t[3],10),void(this.alpha=1)):(t=e.match(o))?(this.red=parseInt(t[1],10),this.green=parseInt(t[2],10),this.blue=parseInt(t[3],10),void(this.alpha=parseFloat(t[4]))):void 0},this.getRelativeLuminance=function(){var e=this.red/255,t=this.green/255,r=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}},c.flattenColors=function(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new c.Color(a,n,o,i)},c.getContrast=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=c.flattenColors(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(a,r)+.05)/(Math.min(a,r)+.05)},c.hasValidContrastRatio=function(e,t,r,a){var n=c.getContrast(e,t),o=a&&Math.ceil(72*r)/96<14||!a&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:o<n,contrastRatio:n,expectedContrastRatio:o}},c.elementIsDistinct=function(e,t){var a=window.getComputedStyle(e);if("none"!==a.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce(function(e,t){var r=new c.Color;return r.parseRgbString(a.getPropertyValue(t+"-color")),e||"none"!==a.getPropertyValue(t+"-style")&&0<parseFloat(a.getPropertyValue(t+"-width"))&&0!==r.alpha},!1))return!0;var r=window.getComputedStyle(t);if(i(a)[0]!==i(r)[0])return!0;var n=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(e,t){return e||a.getPropertyValue(t)!==r.getPropertyValue(t)},!1),o=a.getPropertyValue("text-decoration");return o.split(" ").length<3&&(n=n||o!==r.getPropertyValue("text-decoration")),n};var r,s=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"];function d(e,t){var r=e.nodeName.toUpperCase();if(s.includes(r))return axe.commons.color.incompleteData.set("bgColor","imgNode"),!0;var a=(t=t||window.getComputedStyle(e)).getPropertyValue("background-image"),n="none"!==a;if(n){var o=/gradient/.test(a);axe.commons.color.incompleteData.set("bgColor",o?"bgGradient":"bgImage")}return n}function m(e,t){t=t||window.getComputedStyle(e);var r=new c.Color;if(r.parseRgbString(t.getPropertyValue("background-color")),0!==r.alpha){var a=t.getPropertyValue("opacity");r.alpha=r.alpha*a}return r}function l(e,t){var r=e.getClientRects()[0],a=y.shadowElementsFromPoint(r.left,r.top);if(a)for(var n=0;n<a.length;n++)if(a[n]!==e&&a[n]===t)return!0;return!1}c.getCoords=function(e){if(!(e.left>window.innerWidth||e.top>window.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),window.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),window.innerHeight-1)}},c.getRectStack=function(e){var t=c.getCoords(e.getBoundingClientRect());if(t){var r=y.shadowElementsFromPoint(t.x,t.y),a=Array.from(e.getClientRects());if(a&&1<a.length){var n=a.filter(function(e){return e.width&&0<e.width}).map(function(e){var t=c.getCoords(e);if(t)return y.shadowElementsFromPoint(t.x,t.y)});return n.splice(0,0,r),n}return[r]}return null},c.filteredRectStack=function(n){var o=c.getRectStack(n);if(o&&1===o.length)return o[0];if(o&&1<o.length){var i=o.shift(),s=void 0;return o.forEach(function(e,t){if(0!==t){var r=o[t-1],a=o[t];s=r.every(function(e,t){return e===a[t]})||i.includes(n)}}),s?o[0]:(axe.commons.color.incompleteData.set("bgColor","elmPartiallyObscuring"),null)}return axe.commons.color.incompleteData.set("bgColor","outsideViewport"),null},c.getBackgroundStack=function(e){var t,r,a,n=c.filteredRectStack(e);if(null===n)return null;n=function(e,t){var r={TD:["TR","TBODY"],TH:["TR","THEAD"],INPUT:["LABEL"]},a=e.map(function(e){return e.tagName}),n=e;for(var o in r)if(a.includes(o))for(var i in r[o])if(o.hasOwnProperty(i)){var s=axe.commons.dom.findUp(t,r[o][i]);s&&-1===e.indexOf(s)&&axe.commons.dom.visuallyOverlaps(t.getBoundingClientRect(),s)&&n.splice(a.indexOf(o)+1,0,s),t.tagName===r[o][i]&&-1===a.indexOf(t.tagName)&&n.splice(a.indexOf(o)+1,0,t)}return n}(n,e),n=y.reduceToElementsBelowFloating(n,e),r=(t=n).indexOf(document.body),a=t,1<r&&!d(document.documentElement)&&0===m(document.documentElement).alpha&&(a.splice(r,1),a.splice(t.indexOf(document.documentElement),1),a.push(document.body));var o=(n=a).indexOf(e);return.99<=function(e,t,r){var a=0;if(0<e)for(var n=e-1;0<=n;n--){var o=t[n],i=m(o,window.getComputedStyle(o));i.alpha&&l(r,o)?a+=i.alpha:t.splice(n,1)}return a}(o,n,e)?(axe.commons.color.incompleteData.set("bgColor","bgOverlap"),null):-1!==o?n:null},c.getBackgroundColor=function(s){var l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];if(!0!==(2<arguments.length&&void 0!==arguments[2]&&arguments[2])){var e=s.clientHeight-2>=2*window.innerHeight;s.scrollIntoView(e)}var u=[],t=c.getBackgroundStack(s);return(t||[]).some(function(e){var t,r,a,n,o=window.getComputedStyle(e),i=m(e,o);return a=i,(n=(t=s)!==(r=e)&&!y.visuallyContains(t,r)&&0!==a.alpha)&&axe.commons.color.incompleteData.set("bgColor","elmPartiallyObscured"),n||d(e,o)?(u=null,l.push(e),!0):0!==i.alpha&&(l.push(e),u.push(i),1===i.alpha)}),null===u||null===t?null:(u.push(new c.Color(255,255,255,1)),u.reduce(c.flattenColors))},y.isOpaque=function(e){var t=window.getComputedStyle(e);return d(e,t)||1===m(e,t).alpha},c.getForegroundColor=function(e,t){var r=window.getComputedStyle(e),a=new c.Color;a.parseRgbString(r.getPropertyValue("color"));var n=r.getPropertyValue("opacity");if(a.alpha=a.alpha*n,1===a.alpha)return a;var o=c.getBackgroundColor(e,[],t);if(null!==o)return c.flattenColors(a,o);var i=axe.commons.color.incompleteData.get("bgColor");return axe.commons.color.incompleteData.set("fgColor",i),null},c.incompleteData=(r={},{set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");return t&&(r[e]=t),r[e]},get:function(e){return r[e]},clear:function(){r={}}}),y.reduceToElementsBelowFloating=function(e,t){var r,a,n,o=["fixed","sticky"],i=[],s=!1;for(r=0;r<e.length;++r)(a=e[r])===t&&(s=!0),n=window.getComputedStyle(a),s||-1===o.indexOf(n.position)?i.push(a):i=[];return i},y.findElmsInContext=function(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,o=void 0===n?"":n,i=void 0,s=axe.utils.escapeSelector(r);return i=9===t.nodeType||11===t.nodeType?t:y.getRootNode(t),Array.from(i.querySelectorAll(o+"["+a+"="+s+"]"))},y.findUp=function(e,t){return y.findUpVirtual(axe.utils.getNodeFromTree(axe._tree[0],e),t)},y.findUpVirtual=function(e,t){var r=void 0;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest){var a=e.actualNode.closest(t);return a||null}for(;(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host),r&&!axe.utils.matchesSelector(r,t)&&r!==document.documentElement;);return axe.utils.matchesSelector(r,t)?r:null},y.getComposedParent=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null},y.getElementByReference=function(e,t){var r=e.getAttribute(t);if(r&&"#"===r.charAt(0)){r=decodeURIComponent(r.substring(1));var a=document.getElementById(r);if(a)return a;if((a=document.getElementsByName(r)).length)return a[0]}return null},y.getElementCoordinates=function(e){"use strict";var t=y.getScrollOffset(document),r=t.left,a=t.top,n=e.getBoundingClientRect();return{top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}},y.getRootNode=axe.utils.getRootNode,y.getScrollOffset=function(e){"use strict";if(!e.nodeType&&e.document&&(e=e.document),9!==e.nodeType)return{left:e.scrollLeft,top:e.scrollTop};var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}},y.getViewportSize=function(e){"use strict";var t,r=e.document,a=r.documentElement;return e.innerWidth?{width:e.innerWidth,height:e.innerHeight}:a?{width:a.clientWidth,height:a.clientHeight}:{width:(t=r.body).clientWidth,height:t.clientHeight}};var a=["HEAD","TITLE","TEMPLATE","SCRIPT","STYLE","IFRAME","OBJECT","VIDEO","AUDIO","NOSCRIPT"];function n(e){return e.disabled||!y.isVisible(e,!0)&&"AREA"!==e.nodeName.toUpperCase()}y.hasContentVirtual=function(e,t){return function(e){if(!a.includes(e.actualNode.nodeName.toUpperCase()))return e.children.some(function(e){var t=e.actualNode;return 3===t.nodeType&&t.nodeValue.trim()})}(e)||y.isVisualContent(e.actualNode)||!!u.labelVirtual(e)||!t&&e.children.some(function(e){return 1===e.actualNode.nodeType&&y.hasContentVirtual(e)})},y.hasContent=function(e,t){return e=axe.utils.getNodeFromTree(axe._tree[0],e),y.hasContentVirtual(e,t)},y.idrefs=function(e,t){"use strict";var r,a,n=y.getRootNode(e),o=[],i=e.getAttribute(t);if(i)for(r=0,a=(i=axe.utils.tokenList(i)).length;r<a;r++)o.push(n.getElementById(i[r]));return o},y.isFocusable=function(e){"use strict";if(n(e))return!1;if(y.isNativelyFocusable(e))return!0;var t=e.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))},y.isNativelyFocusable=function(e){"use strict";if(!e||n(e))return!1;switch(e.nodeName.toUpperCase()){case"A":case"AREA":if(e.href)return!0;break;case"INPUT":return"hidden"!==e.type;case"TEXTAREA":case"SELECT":case"DETAILS":case"BUTTON":return!0}return!1},y.insertedIntoFocusOrder=function(e){return-1<e.tabIndex&&y.isFocusable(e)&&!y.isNativelyFocusable(e)},y.isHTML5=function(e){var t=e.doctype;return null!==t&&("html"===t.name&&!t.publicId&&!t.systemId)};var p=["block","list-item","table","flex","grid","inline-block"];function f(e){var t=window.getComputedStyle(e).getPropertyValue("display");return p.includes(t)||"table-"===t.substr(0,6)}y.isInTextBlock=function(r){if(f(r))return!1;var e=function(e){for(var t=y.getComposedParent(e);t&&!f(t);)t=y.getComposedParent(t);return axe.utils.getNodeFromTree(axe._tree[0],t)}(r),a="",n="",o=0;return function t(e,r){!1!==r(e.actualNode)&&e.children.forEach(function(e){return t(e,r)})}(e,function(e){if(2===o)return!1;if(3===e.nodeType&&(a+=e.nodeValue),1===e.nodeType){var t=(e.nodeName||"").toUpperCase();if(["BR","HR"].includes(t))0===o?n=a="":o=2;else{if("none"===e.style.display||"hidden"===e.style.overflow||!["",null,"none"].includes(e.style.float)||!["",null,"relative"].includes(e.style.position))return!1;if("A"===t&&e.href||"link"===(e.getAttribute("role")||"").toLowerCase())return e===r&&(o=1),n+=e.textContent,!1}}}),a=axe.commons.text.sanitize(a),n=axe.commons.text.sanitize(n),a.length>n.length},y.isNode=function(e){"use strict";return e instanceof Node},y.isOffscreen=function(e){var t=void 0,r=document.documentElement,a=window.getComputedStyle(e),n=window.getComputedStyle(document.body||r).getPropertyValue("direction"),o=y.getElementCoordinates(e);if(o.bottom<0&&(function(e,t){for(e=y.getComposedParent(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&0<=(t+=e.scrollTop))return!1;e=y.getComposedParent(e)}return!0}(e,o.bottom)||"absolute"===a.position))return!0;if(0===o.left&&0===o.right)return!1;if("ltr"===n){if(o.right<=0)return!0}else if(t=Math.max(r.scrollWidth,y.getViewportSize(window).width),o.left>=t)return!0;return!1},y.isVisible=function(e,t,r){"use strict";var a,n,o,i,s;return 9===e.nodeType||(11===e.nodeType&&(e=e.host),null!==(a=window.getComputedStyle(e,null))&&(n=e.nodeName.toUpperCase(),!("none"===a.getPropertyValue("display")||"STYLE"===n.toUpperCase()||"SCRIPT"===n.toUpperCase()||!t&&(i=a.getPropertyValue("clip"),(s=i.match(/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/))&&5===s.length&&s[3]-s[1]<=0&&s[2]-s[4]<=0)||!r&&("hidden"===a.getPropertyValue("visibility")||!t&&y.isOffscreen(e))||t&&"true"===e.getAttribute("aria-hidden"))&&(!!(o=e.assignedSlot?e.assignedSlot:e.parentNode)&&y.isVisible(o,t,!0))))};var h=["checkbox","img","radio","range","slider","spinbutton","textbox"];y.isVisualContent=function(e){var t=e.getAttribute("role");if(t)return-1!==h.indexOf(t);switch(e.tagName.toUpperCase()){case"IMG":case"IFRAME":case"OBJECT":case"VIDEO":case"AUDIO":case"CANVAS":case"SVG":case"MATH":case"BUTTON":case"SELECT":case"TEXTAREA":case"KEYGEN":case"PROGRESS":case"METER":return!0;case"INPUT":return"hidden"!==e.type;default:return!1}},y.shadowElementsFromPoint=function(a,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0;if(999<o)throw new Error("Infinite loop detected");return Array.from(t.elementsFromPoint(a,n)).filter(function(e){return y.getRootNode(e)===t}).reduce(function(e,t){if(axe.utils.isShadowRoot(t)){var r=y.shadowElementsFromPoint(a,n,t.shadowRoot,o+1);(e=e.concat(r)).length&&axe.commons.dom.visuallyContains(e[0],t)&&e.push(t)}else e.push(t);return e},[])},y.visuallyContains=function(e,t){var r=e.getBoundingClientRect(),a=r.top+.01,n=r.bottom-.01,o=r.left+.01,i=r.right-.01,s=t.getBoundingClientRect(),l=s.top,u=s.left,c=l-t.scrollTop,d=l-t.scrollTop+t.scrollHeight,m=u-t.scrollLeft,p=u-t.scrollLeft+t.scrollWidth,f=window.getComputedStyle(t);return"inline"===f.getPropertyValue("display")||!(o<m&&o<s.left||a<c&&a<s.top||p<i&&i>s.right||d<n&&n>s.bottom)&&(!(i>s.right||n>s.bottom)||("scroll"===f.overflow||"auto"===f.overflow||"hidden"===f.overflow||t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement))},y.visuallyOverlaps=function(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,o=a-t.scrollTop,i=a-t.scrollTop+t.scrollHeight,s=n-t.scrollLeft,l=n-t.scrollLeft+t.scrollWidth;if(e.left>l&&e.left>r.right||e.top>i&&e.top>r.bottom||e.right<s&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var u=window.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||("scroll"===u.overflow||"auto"===u.overflow||t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)},o.getAllCells=function(e){var t,r,a,n,o=[];for(t=0,a=e.rows.length;t<a;t++)for(r=0,n=e.rows[t].cells.length;r<n;r++)o.push(e.rows[t].cells[r]);return o},o.getCellPosition=function(e,t){var r,a;for(t||(t=o.toGrid(y.findUp(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(a=t[r].indexOf(e)))return{x:a,y:r}},o.getHeaders=function(e){if(e.hasAttribute("headers"))return commons.dom.idrefs(e,"headers");var t=commons.table.toGrid(commons.dom.findUp(e,"table")),r=commons.table.getCellPosition(e,t),a=o.traverse("left",r,t).filter(function(e){return o.isRowHeader(e)}),n=o.traverse("up",r,t).filter(function(e){return o.isColumnHeader(e)});return[].concat(a,n).reverse()},o.getScope=function(e){var t=e.getAttribute("scope"),r=e.getAttribute("role");if(e instanceof Element==!1||-1===["TD","TH"].indexOf(e.nodeName.toUpperCase()))throw new TypeError("Expected TD or TH element");if("columnheader"===r)return"col";if("rowheader"===r)return"row";if("col"===t||"row"===t)return t;if("TH"!==e.nodeName.toUpperCase())return!1;var a=o.toGrid(y.findUp(e,"table")),n=o.getCellPosition(e);return a[n.y].reduce(function(e,t){return e&&"TH"===t.nodeName.toUpperCase()},!0)?"col":a.map(function(e){return e[n.x]}).reduce(function(e,t){return e&&"TH"===t.nodeName.toUpperCase()},!0)?"row":"auto"},o.isColumnHeader=function(e){return-1!==["col","auto"].indexOf(o.getScope(e))},o.isDataCell=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return axe.commons.aria.isValidRole(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},o.isDataTable=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!y.isFocusable(e))return!1;if("true"===e.getAttribute("contenteditable")||y.findUp(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===commons.aria.getRoleType(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,a=e.children.length;r<a;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var n,o,i=0,s=e.rows.length,l=!1,u=0;u<s;u++)for(var c=0,d=(n=e.rows[u]).cells.length;c<d;c++){if("TH"===(o=n.cells[c]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;i++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var m,p,f=e.rows[Math.ceil(s/2)];if(1===f.cells.length&&1===f.cells[0].colSpan)return!1;if(5<=f.cells.length)return!0;if(l)return!0;for(u=0;u<s;u++){if(n=e.rows[u],m&&m!==window.getComputedStyle(n).getPropertyValue("background-color"))return!0;if(m=window.getComputedStyle(n).getPropertyValue("background-color"),p&&p!==window.getComputedStyle(n).getPropertyValue("background-image"))return!0;p=window.getComputedStyle(n).getPropertyValue("background-image")}return 20<=s||!(y.getElementCoordinates(e).width>.95*y.getViewportSize(window).width)&&(!(i<10)&&!e.querySelector("object, embed, iframe, applet"))},o.isHeader=function(e){if(o.isColumnHeader(e)||o.isRowHeader(e))return!0;if(e.getAttribute("id")){var t=axe.utils.escapeSelector(e.getAttribute("id"));return!!document.querySelector('[headers~="'+t+'"]')}return!1},o.isRowHeader=function(e){return["row","auto"].includes(o.getScope(e))},o.toGrid=function(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var o=r[a].cells;t[a]=t[a]||[];for(var i=0,s=0,l=o.length;s<l;s++)for(var u=0;u<o[s].colSpan;u++){for(var c=0;c<o[s].rowSpan;c++){for(t[a+c]=t[a+c]||[];t[a+c][i];)i++;t[a+c][i]=o[s]}i++}}return t},o.toArray=o.toGrid,o.traverse=function(e,t,r,a){if(Array.isArray(t)&&(a=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return function e(t,r,a,n){var o,i=a[r.y]?a[r.y][r.x]:void 0;return i?"function"==typeof n&&!0===(o=n(i,r,a))?[i]:((o=e(t,{x:r.x+t.x,y:r.y+t.y},a,n)).unshift(i),o):[]}(e,{x:t.x+e.x,y:t.y+e.y},r,a)};var w={submit:"Submit",reset:"Reset"},k=["text","search","tel","url","email","date","time","number","range","color"],x=["A","EM","STRONG","SMALL","MARK","ABBR","DFN","I","B","S","U","CODE","VAR","SAMP","KBD","SUP","SUB","Q","CITE","SPAN","BDO","BDI","BR","WBR","INS","DEL","IMG","EMBED","OBJECT","IFRAME","MAP","AREA","SCRIPT","NOSCRIPT","RUBY","VIDEO","AUDIO","INPUT","TEXTAREA","SELECT","BUTTON","LABEL","OUTPUT","DATALIST","KEYGEN","PROGRESS","COMMAND","CANVAS","TIME","METER"];function E(e,t){var r=e.actualNode.querySelector(t.toLowerCase());return r?v.accessibleText(r):""}function A(e){return!!v.sanitize(e)}v.accessibleText=function(e,t){var r=axe.utils.getNodeFromTree(axe._tree[0],e);return axe.commons.text.accessibleTextVirtual(r,t)},v.accessibleTextVirtual=function(e,t){var g=void 0,i=[];function b(e,a,n){return e.children.reduce(function(e,t){var r=t.actualNode;return 3===r.nodeType?e+=r.nodeValue:1===r.nodeType&&(x.includes(r.nodeName.toUpperCase())||(e+=" "),e+=g(t,a,n)),e},"")}function s(e,t,r){var a,n,o,i,s,l,u,c,d,m="",p=e.actualNode,f=p.nodeName.toUpperCase();if(a=e.actualNode,["BUTTON","SUMMARY","A"].includes(a.nodeName.toUpperCase())&&A(m=b(e,!1,!1)||""))return m;if("FIGURE"===f&&A(m=E(e,"figcaption")))return m;if("TABLE"===f){if(A(m=E(e,"caption")))return m;if(A(m=p.getAttribute("title")||p.getAttribute("summary")||(n=e,axe.commons.table.isDataTable(n.actualNode)||1!==axe.commons.table.getAllCells(n.actualNode).length?"":b(n,!1,!1).trim())||""))return m}if(o=e.actualNode,i=o.nodeName.toUpperCase(),["IMG","APPLET","AREA"].includes(i)||"INPUT"===i&&"image"===o.type.toLowerCase())return p.getAttribute("alt")||"";if(c=e.actualNode,("TEXTAREA"===(d=c.nodeName.toUpperCase())||"SELECT"===d||"INPUT"===d&&"hidden"!==c.type.toLowerCase())&&!r){if(u=e.actualNode,["button","reset","submit"].includes(u.type.toLowerCase()))return p.value||p.title||w[p.type]||"";var h=(l=void 0,(s=e).actualNode.id&&(l=y.findElmsInContext({elm:"label",attr:"for",value:s.actualNode.id,context:s.actualNode})[0]),l||(l=y.findUpVirtual(s,"label")),axe.utils.getNodeFromTree(axe._tree[0],l));if(h)return g(h,t,!0)}return""}function l(e,t,r){var a="",n=e.actualNode;return!t&&n.hasAttribute("aria-labelledby")&&(a=v.sanitize(y.idrefs(n,"aria-labelledby").map(function(e){if(null===e)return"";n===e&&i.pop();var t=axe.utils.getNodeFromTree(axe._tree[0],e);return g(t,!0,n!==e)}).join(" "))),a||r&&function(e){if(!e)return!1;var t=e.actualNode;switch(t.nodeName.toUpperCase()){case"SELECT":case"TEXTAREA":return!0;case"INPUT":return!t.hasAttribute("type")||k.includes(t.getAttribute("type").toLowerCase());default:return!1}}(e)||!n.hasAttribute("aria-label")?a:v.sanitize(n.getAttribute("aria-label"))}return e instanceof Node&&(e=axe.utils.getNodeFromTree(axe._tree[0],e)),g=function(e,t,r){var a=void 0;if(!e||i.includes(e))return"";if(null!==e&&e.actualNode instanceof Node!=!0)throw new Error("Invalid argument. Virtual Node must be provided");if(!t&&!y.isVisible(e.actualNode,!0))return"";i.push(e);var n,o=e.actualNode.getAttribute("role");return A(a=l(e,t,r))?a:A(a=s(e,t,r))?a:r&&A(a=function(e,t){var r=e.actualNode,a=r.nodeName.toUpperCase();if("INPUT"===a)return!r.hasAttribute("type")||k.includes(r.type.toLowerCase())?r.value:"";if("SELECT"===a&&t){var n=r.options;if(n&&n.length){for(var o="",i=0;i<n.length;i++)n[i].selected&&(o+=" "+n[i].text);return v.sanitize(o)}return""}return"TEXTAREA"===a&&r.value?r.value:""}(e,t))?a:!t&&(n=e.actualNode,["TABLE","FIGURE","SELECT"].includes(n.nodeName.toUpperCase()))||o&&-1===u.getRolesWithNameFromContents().indexOf(o)||!A(a=b(e,t,r))?e.actualNode.hasAttribute("title")?e.actualNode.getAttribute("title"):"":a},v.sanitize(g(e,t))};v.autocomplete={stateTerms:["on","off"],standaloneTerms:["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"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},v.isValidAutocomplete=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,a=void 0!==r&&r,n=t.stateTerms,o=void 0===n?[]:n,i=t.locations,s=void 0===i?[]:i,l=t.qualifiers,u=void 0===l?[]:l,c=t.standaloneTerms,d=void 0===c?[]:c,m=t.qualifiedTerms,p=void 0===m?[]:m;if(e=e.toLowerCase().trim(),(o=o.concat(v.autocomplete.stateTerms)).includes(e)||""===e)return!0;u=u.concat(v.autocomplete.qualifiers),s=s.concat(v.autocomplete.locations),d=d.concat(v.autocomplete.standaloneTerms),p=p.concat(v.autocomplete.qualifiedTerms);var f=e.split(/\s+/g);if(!a&&(8<f[0].length&&"section-"===f[0].substr(0,8)&&f.shift(),s.includes(f[0])&&f.shift(),u.includes(f[0])&&(f.shift(),d=[]),1!==f.length))return!1;var h=f[f.length-1];return d.includes(h)||p.includes(h)},v.labelVirtual=function(e){var t,r;if(r=u.labelVirtual(e))return r;if(e.actualNode.id){var a=axe.commons.utils.escapeSelector(e.actualNode.getAttribute("id"));if(r=(t=axe.commons.dom.getRootNode(e.actualNode).querySelector('label[for="'+a+'"]'))&&v.visible(t,!0))return r}return(r=(t=y.findUpVirtual(e,"label"))&&v.visible(t,!0))||null},v.label=function(e){return e=axe.utils.getNodeFromTree(axe._tree[0],e),v.labelVirtual(e)},v.sanitize=function(e){"use strict";return e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim()},v.visibleVirtual=function(r,a,n){var e=r.children.map(function(e){if(3===e.actualNode.nodeType){var t=e.actualNode.nodeValue;if(t&&y.isVisible(r.actualNode,a))return t}else if(!n)return v.visibleVirtual(e,a)}).join("");return v.sanitize(e)},v.visible=function(e,t,r){return e=axe.utils.getNodeFromTree(axe._tree[0],e),v.visibleVirtual(e,t,r)},axe.utils.getBaseLang=function(e){return e?e.trim().split("-")[0].toLowerCase():""};var g=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];axe.utils.isHtmlElement=function(e){var t=e.nodeName.toLowerCase();return g.includes(t)&&"http://www.w3.org/2000/svg"!==e.namespaceURI},axe.utils.tokenList=function(e){"use strict";return e.trim().replace(/\s{2,}/g," ").split(" ")};var b=["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","in","io","is","it","iu","iw","ja","ji","jv","jw","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mo","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu","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","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","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","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","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","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","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","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","csq","csr","css","cst","csu","csv","csw","csy","csz","cta","ctc","ctd","cte","ctg","cth","ctl","ctm","ctn","cto","ctp","cts","ctt","ctu","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","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","dkk","dkl","dkr","dks","dkx","dlg","dlk","dlm","dln","dma","dmb","dmc","dmd","dme","dmg","dmk","dml","dmm","dmn","dmo","dmr","dms","dmu","dmv","dmw","dmx","dmy","dna","dnd","dne","dng","dni","dnj","dnk","dnn","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","dwl","dwr","dws","dwu","dww","dwy","dya","dyb","dyd","dyg","dyi","dym","dyn","dyo","dyu","dyy","dza","dzd","dze","dzg","dzl","dzn","eaa","ebg","ebk","ebo","ebr","ebu","ecr","ecs","ecy","eee","efa","efe","efi","ega","egl","ego","egx","egy","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","ems","emu","emw","emx","emy","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","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","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","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","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","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","glc","gld","glh","gli","glj","glk","gll","glo","glr","glu","glw","gly","gma","gmb","gmd","gme","gmg","gmh","gml","gmm","gmn","gmq","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","gza","gzi","gzn","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","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","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","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","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","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","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","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","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","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","lsd","lse","lsg","lsh","lsi","lsl","lsm","lso","lsp","lsr","lss","lst","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","lvk","lvs","lvu","lwa","lwe","lwg","lwh","lwl","lwm","lwo","lws","lwt","lwu","lww","lya","lyg","lyn","lzh","lzl","lzn","lzz","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","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","nqy","nra","nrb","nrc","nre","nrf","nrg","nri","nrk","nrl","nrm","nrn","nrp","nrr","nrt","nru","nrx","nrz","nsa","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","oaa","oac","oar","oav","obi","obk","obl","obm","obo","obr","obt","obu","oca","och","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","okd","oke","okg","okh","oki","okj","okk","okl","okm","okn","oko","okr","oks","oku","okv","okx","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","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","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","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","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","qaa..qtz","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","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","rwm","rwo","rwr","rxd","rxw","ryn","rys","ryu","rzh","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","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","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","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","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","tjl","tjm","tjn","tjo","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","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","tyz","tza","tzh","tzj","tzl","tzm","tzn","tzo","tzx","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","ukk","ukl","ukp","ukq","uks","uku","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","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","usu","uta","ute","utp","utr","utu","uum","uun","uur","uuu","uve","uvh","uvl","uwa","uya","uzn","uzs","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","vko","vkp","vkt","vku","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","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","wku","wkw","wky","wla","wlc","wle","wlg","wli","wlk","wll","wlm","wlo","wlr","wls","wlu","wlv","wlw","wlx","wly","wma","wmb","wmc","wmd","wme","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","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","xnk","xnn","xno","xnr","xns","xnt","xnu","xny","xnz","xoc","xod","xog","xoi","xok","xom","xon","xoo","xop","xor","xow","xpa","xpc","xpe","xpg","xpi","xpj","xpk","xpm","xpn","xpo","xpp","xpq","xpr","xps","xpt","xpu","xpy","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","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","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","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","zbc","zbe","zbl","zbt","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","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"];return axe.utils.validLangs=function(){"use strict";return b},commons}()})}("object"==typeof window?window:this); | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/email_pytest_report.py | """
Qxf2 Services: Utility script to send pytest test report email
* Supports both text and html formatted messages
* Supports text, html, image, audio files as an attachment
To Do:
* Provide support to add multiple attachment
Note:
* We added subject, email body message as per our need. You can update that as per your requirement.
* To generate html formatted test report, you need to use pytest-html plugin. To install it use command: pip install pytest-html
* To generate pytest_report.html file use following command from the root of repo e.g. py.test --html = log/pytest_report.html
* To generate pytest_report.log file use following command from the root of repo e.g. py.test -k example_form -r F -v > log/pytest_report.log
"""
import smtplib
import os,sys
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.audio import MIMEAudio
from email.mime.multipart import MIMEMultipart
from email.mime.base import MIMEBase
import mimetypes
from email import encoders
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import conf.email_conf as conf_file
class Email_Pytest_Report:
"Class to email pytest report"
def __init__(self):
self.smtp_ssl_host = conf_file.smtp_ssl_host
self.smtp_ssl_port = conf_file.smtp_ssl_port
self.username = conf_file.username
self.password = conf_file.app_password
self.sender = conf_file.sender
self.targets = conf_file.targets
def get_test_report_data(self,html_body_flag= True,report_file_path= 'default'):
"get test report data from pytest_report.html or pytest_report.txt or from user provided file"
if html_body_flag == True and report_file_path == 'default':
#To generate pytest_report.html file use following command e.g. py.test --html = log/pytest_report.html
test_report_file = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','log','pytest_report.html'))#Change report file name & address here
elif html_body_flag == False and report_file_path == 'default':
#To generate pytest_report.log file add ">pytest_report.log" at end of py.test command e.g. py.test -k example_form -r F -v > log/pytest_report.log
test_report_file = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','log','pytest_report.log'))#Change report file name & address here
else:
test_report_file = report_file_path
#check file exist or not
if not os.path.exists(test_report_file):
raise Exception("File '%s' does not exist. Please provide valid file"%test_report_file)
with open(test_report_file, "r") as in_file:
testdata = ""
for line in in_file:
testdata = testdata + '\n' + line
return testdata
def get_attachment(self,attachment_file_path = 'default'):
"Get attachment and attach it to mail"
if attachment_file_path == 'default':
#To generate pytest_report.html file use following command e.g. py.test --html = log/pytest_report.html
attachment_report_file = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','log','pytest_report.html'))#Change report file name & address here
else:
attachment_report_file = attachment_file_path
#check file exist or not
if not os.path.exists(attachment_report_file):
raise Exception("File '%s' does not exist. Please provide valid file"%attachment_report_file)
# Guess encoding type
ctype, encoding = mimetypes.guess_type(attachment_report_file)
if ctype is None or encoding is not None:
ctype = 'application/octet-stream' # Use a binary type as guess couldn't made
maintype, subtype = ctype.split('/', 1)
if maintype == 'text':
fp = open(attachment_report_file)
attachment = MIMEText(fp.read(), subtype)
fp.close()
elif maintype == 'image':
fp = open(attachment_report_file, 'rb')
attachment = MIMEImage(fp.read(), subtype)
fp.close()
elif maintype == 'audio':
fp = open(attachment_report_file, 'rb')
attachment = MIMEAudio(fp.read(), subtype)
fp.close()
else:
fp = open(attachment_report_file, 'rb')
attachment = MIMEBase(maintype, subtype)
attachment.set_payload(fp.read())
fp.close()
# Encode the payload using Base64
encoders.encode_base64(attachment)
# Set the filename parameter
attachment.add_header('Content-Disposition',
'attachment',
filename=os.path.basename(attachment_report_file))
return attachment
def send_test_report_email(self,html_body_flag = True,attachment_flag = False,report_file_path = 'default'):
"send test report email"
#1. Get html formatted email body data from report_file_path file (log/pytest_report.html) and do not add it as an attachment
if html_body_flag == True and attachment_flag == False:
testdata = self.get_test_report_data(html_body_flag,report_file_path) #get html formatted test report data from log/pytest_report.html
message = MIMEText(testdata,"html") # Add html formatted test data to email
#2. Get text formatted email body data from report_file_path file (log/pytest_report.log) and do not add it as an attachment
elif html_body_flag == False and attachment_flag == False:
testdata = self.get_test_report_data(html_body_flag,report_file_path) #get html test report data from log/pytest_report.log
message = MIMEText(testdata) # Add text formatted test data to email
#3. Add html formatted email body message along with an attachment file
elif html_body_flag == True and attachment_flag == True:
message = MIMEMultipart()
#add html formatted body message to email
html_body = MIMEText('''<p>Hello,</p>
<p> Please check the attachment to see test built report.</p>
<p><strong>Note: For best UI experience, download the attachment and open using Chrome browser.</strong></p>
''',"html") # Add/Update email body message here as per your requirement
message.attach(html_body)
#add attachment to email
attachment = self.get_attachment(report_file_path)
message.attach(attachment)
#4. Add text formatted email body message along with an attachment file
else:
message = MIMEMultipart()
#add test formatted body message to email
plain_text_body = MIMEText('''Hello,\n\tPlease check attachment to see test built report.
\n\nNote: For best UI experience, download the attachment and open using Chrome browser.''')# Add/Update email body message here as per your requirement
message.attach(plain_text_body)
#add attachment to email
attachment = self.get_attachment(report_file_path)
message.attach(attachment)
message['From'] = self.sender
message['To'] = ', '.join(self.targets)
message['Subject'] = 'Script generated test report' # Update email subject here
#Send Email
server = smtplib.SMTP_SSL(self.smtp_ssl_host, self.smtp_ssl_port)
server.login(self.username, self.password)
server.sendmail(self.sender, self.targets, message.as_string())
server.quit()
#---USAGE EXAMPLES
if __name__=='__main__':
print("Start of %s"%__file__)
#Initialize the Email_Pytest_Report object
email_obj = Email_Pytest_Report()
#1. Send html formatted email body message with pytest report as an attachment
#Here log/pytest_report.html is a default file. To generate pytest_report.html file use following command to the test e.g. py.test --html = log/pytest_report.html
email_obj.send_test_report_email(html_body_flag=True,attachment_flag=True,report_file_path= 'default')
#Note: We commented below code to avoid sending multiple emails, you can try the other cases one by one to know more about email_pytest_report util.
'''
#2. Send html formatted pytest report
email_obj.send_test_report_email(html_body_flag=True,attachment_flag=False,report_file_path= 'default')
#3. Send plain text formatted pytest report
email_obj.send_test_report_email(html_body_flag=False,attachment_flag=False,report_file_path= 'default')
#4. Send plain formatted email body message with pytest reports an attachment
email_obj.send_test_report_email(html_body_flag=False,attachment_flag=True,report_file_path='default')
#5. Send different type of attachment
image_file = ("C:\\Users\\Public\\Pictures\\Sample Pictures\\Koala.jpg") # add attachment file here
email_obj.send_test_report_email(html_body_flag=False,attachment_flag=True,report_file_path= image_file)
'''
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/csv_compare.py | """
Qxf2 Services: Utility script to compare two csv files.
"""
import csv,os
class Csv_Compare():
def is_equal(self,csv_actual,csv_expected):
"Method to compare the Actual and Expected csv file"
result_flag = True
if not os.path.exists(csv_actual):
result_flag = False
print('Could not locate the csv file: %s'%csv_actual)
if not os.path.exists(csv_expected):
result_flag = False
print('Could not locate the csv file: %s'%csv_expected)
if os.path.exists(csv_actual) and os.path.exists(csv_expected):
#Open the csv file and put the content to list
with open(csv_actual, 'r') as actual_csvfile, open(csv_expected, 'r') as exp_csvfile:
reader = csv.reader(actual_csvfile)
actual_file = [row for row in reader]
reader = csv.reader(exp_csvfile)
exp_file = [row for row in reader]
if (len(actual_file)!= len(exp_file)):
result_flag = False
print("Mismatch in number of rows. The actual row count didn't match with expected row count")
else:
for actual_row, actual_col in zip(actual_file,exp_file):
if actual_row == actual_col:
pass
else:
print("Mismatch between actual and expected file at Row: ",actual_file.index(actual_row))
print("Row present only in Actual file: %s"%actual_row)
print("Row present only in Expected file: %s"%actual_col)
result_flag = False
return result_flag
#---USAGE EXAMPLES
if __name__=='__main__':
print("Start of %s"%__file__)
#Fill in the file1 and file2 paths
file1 = 'Add path for the first file here'
file2 = 'Add path for the second file here'
#Initialize the csv object
csv_obj = Csv_Compare()
#Sample code to compare csv files
if csv_obj.is_equal(file1,file2) is True:
print("Data matched in both the csv files\n")
else:
print("Data mismatch between the actual and expected csv files")
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/Wrapit.py | """
Class to hold miscellaneous but useful decorators for our framework
"""
from inspect import getfullargspec
class Wrapit():
"Wrapit class to hold decorator functions"
def _exceptionHandler(f):
"Decorator to handle exceptions"
def inner(*args,**kwargs):
try:
return f(*args,**kwargs)
except Exception as e:
args[0].write('You have this exception')
args[0].write('Exception in method: %s'%str(f.__name__))
args[0].write('PYTHON SAYS: %s'%str(e))
#we denote None as failure case
return None
return inner
def _screenshot(func):
"Decorator for taking screenshots"
#Usage: Make this the first decorator to a method (right above the 'def function_name' line)
#Otherwise, we cannot name the screenshot with the name of the function that called it
def wrapper(*args,**kwargs):
result = func(*args,**kwargs)
screenshot_name = '%003d'%args[0].screenshot_counter + '_' + func.__name__
args[0].screenshot_counter += 1
args[0].save_screenshot(screenshot_name)
return result
return wrapper
def _check_browser_console_log(func):
"Decorator to check the browser's console log for errors"
def wrapper(*args,**kwargs):
#As IE driver does not support retrieval of any logs,
#we are bypassing the read_browser_console_log() method
result = func(*args, **kwargs)
if "ie" not in str(args[0].driver):
result = func(*args, **kwargs)
log_errors = []
new_errors = []
log = args[0].read_browser_console_log()
if log != None:
for entry in log:
if entry['level']=='SEVERE':
log_errors.append(entry['message'])
if args[0].current_console_log_errors != log_errors:
#Find the difference
new_errors = list(set(log_errors) - set(args[0].current_console_log_errors))
#Set current_console_log_errors = log_errors
args[0].current_console_log_errors = log_errors
if len(new_errors)>0:
args[0].failure("\nBrowser console error on url: %s\nMethod: %s\nConsole error(s):%s"%(args[0].get_current_url(),func.__name__,'\n----'.join(new_errors)))
return result
return wrapper
_exceptionHandler = staticmethod(_exceptionHandler)
_screenshot = staticmethod(_screenshot)
_check_browser_console_log = staticmethod(_check_browser_console_log)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/utils/setup_testrail.py | """
One off utility script to setup TestRail for an automated run
This script can:
a) Add a milestone if it does not exist
b) Add a test run (even without a milestone if needed)
c) Add select test cases to the test run using the setup_testrail.conf file
d) Write out the latest run id to a 'latest_test_run.txt' file
This script will NOT:
a) Add a project if it does not exist
"""
import os,ConfigParser,time
from .Test_Rail import Test_Rail
from optparse import OptionParser
def check_file_exists(file_path):
#Check if the config file exists and is a file
conf_flag = True
if os.path.exists(file_path):
if not os.path.isfile(file_path):
print('\n****')
print('Config file provided is not a file: ')
print(file_path)
print('****')
conf_flag = False
else:
print('\n****')
print('Unable to locate the provided config file: ')
print(file_path)
print('****')
conf_flag = False
return conf_flag
def check_options(options):
"Check if the command line options are valid"
result_flag = True
if options.test_cases_conf is not None:
result_flag = check_file_exists(os.path.abspath(os.path.join(os.path.dirname(__file__),'..','conf',options.test_cases_conf)))
return result_flag
def save_new_test_run_details(filename,test_run_name,test_run_id):
"Write out latest test run name and id"
fp = open(filename,'w')
fp.write('TEST_RUN_NAME=%s\n'%test_run_name)
fp.write('TEST_RUN_ID=%s\n'%str(test_run_id))
fp.close()
def setup_testrail(project_name='POM DEMO',milestone_name=None,test_run_name=None,test_cases_conf=None,description=None,name_override_flag='N',case_ids_list=None):
"Setup TestRail for an automated run"
#1. Get project id
#2. if milestone_name is not None
# create the milestone if it does not already exist
#3. if test_run_name is not None
# create the test run if it does not already exist
# TO DO: if test_cases_conf is not None -> pass ids as parameters
#4. write out test runid to latest_test_run.txt
conf_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','conf'))
config = ConfigParser.ConfigParser()
tr_obj = Test_Rail()
#1. Get project id
project_id = tr_obj.get_project_id(project_name)
if project_id is not None: #i.e., the project exists
#2. if milestone_name is not None:
# create the milestone if it does not already exist
if milestone_name is not None:
tr_obj.create_milestone(project_name,milestone_name)
#3. if test_run_name is not None
# create the test run if it does not already exist
# if test_cases_conf is not None -> pass ids as parameters
if test_run_name is not None:
case_ids = []
#Set the case ids
if case_ids_list is not None:
#Getting case ids from command line
case_ids = case_ids_list.split(',')
else:
#Getting case ids based on given description(test name)
if description is not None:
if check_file_exists(os.path.join(conf_dir,test_cases_conf)):
config.read(os.path.join(conf_dir,test_cases_conf))
case_ids = config.get(description,'case_ids')
case_ids = case_ids.split(',')
#Set test_run_name
if name_override_flag.lower() == 'y':
test_run_name = test_run_name + "-" + time.strftime("%d/%m/%Y/%H:%M:%S") + "_for_"
#Use description as test_run_name
if description is None:
test_run_name = test_run_name + "All"
else:
test_run_name = test_run_name + str(description)
tr_obj.create_test_run(project_name,test_run_name,milestone_name=milestone_name,case_ids=case_ids,description=description)
run_id = tr_obj.get_run_id(project_name,test_run_name)
save_new_test_run_details(os.path.join(conf_dir,'latest_test_run.txt'),test_run_name,run_id)
else:
print('Project does not exist: ',project_name)
print('Stopping the script without doing anything.')
#---START OF SCRIPT
if __name__=='__main__':
#This script takes an optional command line argument for the TestRail run id
usage = '\n----\n%prog -p <OPTIONAL: Project name> -m <OPTIONAL: milestone_name> -r <OPTIONAL: Test run name> -t <OPTIONAL: test cases conf file> -d <OPTIONAL: Test run description>\n----\nE.g.: %prog -p "Secure Code Warrior - Test" -m "Pilot NetCetera" -r commit_id -t setup_testrail.conf -d Registration\n---'
parser = OptionParser(usage=usage)
parser.add_option("-p","--project",
dest="project_name",
default="POM DEMO",
help="Project name")
parser.add_option("-m","--milestone",
dest="milestone_name",
default=None,
help="Milestone name")
parser.add_option("-r","--test_run_name",
dest="test_run_name",
default=None,
help="Test run name")
parser.add_option("-t","--test_cases_conf",
dest="test_cases_conf",
default="setup_testrail.conf",
help="Test cases conf listing test names and ids you want added")
parser.add_option("-d","--test_run_description",
dest="test_run_description",
default=None,
help="The name of the test Registration_Tests/Intro_Run_Tests/Sales_Demo_Tests")
parser.add_option("-n","--name_override_flag",
dest="name_override_flag",
default="Y",
help="Y or N. 'N' if you don't want to override the default test_run_name")
parser.add_option("-c","--case_ids_list",
dest="case_ids_list",
default=None,
help="Pass all case ids with comma separated you want to add in test run")
(options,args) = parser.parse_args()
#Run the script only if the options are valid
if check_options(options):
setup_testrail(project_name=options.project_name,
milestone_name=options.milestone_name,
test_run_name=options.test_run_name,
test_cases_conf=options.test_cases_conf,
description=options.test_run_description,
name_override_flag=options.name_override_flag,
case_ids_list=options.case_ids_list)
else:
print('ERROR: Received incorrect input arguments')
print(parser.print_usage())
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/__init__.py |
"""
GMail! Woo!
"""
__title__ = 'gmail'
__version__ = '0.1'
__author__ = 'Charlie Guo'
__build__ = 0x0001
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2013 Charlie Guo'
from .gmail import Gmail
from .mailbox import Mailbox
from .message import Message
from .exceptions import GmailException, ConnectionError, AuthenticationError
from .utils import login, authenticate
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/message.py | import datetime
import email
import re
import time
import os
from email.header import decode_header, make_header
from imaplib import ParseFlags
class Message():
def __init__(self, mailbox, uid):
self.uid = uid
self.mailbox = mailbox
self.gmail = mailbox.gmail if mailbox else None
self.message = None
self.headers = {}
self.subject = None
self.body = None
self.html = None
self.to = None
self.fr = None
self.cc = None
self.delivered_to = None
self.sent_at = None
self.flags = []
self.labels = []
self.thread_id = None
self.thread = []
self.message_id = None
self.attachments = None
def is_read(self):
return ('\\Seen' in self.flags)
def read(self):
flag = '\\Seen'
self.gmail.imap.uid('STORE', self.uid, '+FLAGS', flag)
if flag not in self.flags: self.flags.append(flag)
def unread(self):
flag = '\\Seen'
self.gmail.imap.uid('STORE', self.uid, '-FLAGS', flag)
if flag in self.flags: self.flags.remove(flag)
def is_starred(self):
return ('\\Flagged' in self.flags)
def star(self):
flag = '\\Flagged'
self.gmail.imap.uid('STORE', self.uid, '+FLAGS', flag)
if flag not in self.flags: self.flags.append(flag)
def unstar(self):
flag = '\\Flagged'
self.gmail.imap.uid('STORE', self.uid, '-FLAGS', flag)
if flag in self.flags: self.flags.remove(flag)
def is_draft(self):
return ('\\Draft' in self.flags)
def has_label(self, label):
full_label = '%s' % label
return (full_label in self.labels)
def add_label(self, label):
full_label = '%s' % label
self.gmail.imap.uid('STORE', self.uid, '+X-GM-LABELS', full_label)
if full_label not in self.labels: self.labels.append(full_label)
def remove_label(self, label):
full_label = '%s' % label
self.gmail.imap.uid('STORE', self.uid, '-X-GM-LABELS', full_label)
if full_label in self.labels: self.labels.remove(full_label)
def is_deleted(self):
return ('\\Deleted' in self.flags)
def delete(self):
flag = '\\Deleted'
self.gmail.imap.uid('STORE', self.uid, '+FLAGS', flag)
if flag not in self.flags: self.flags.append(flag)
trash = '[Gmail]/Trash' if '[Gmail]/Trash' in self.gmail.labels() else '[Gmail]/Bin'
if self.mailbox.name not in ['[Gmail]/Bin', '[Gmail]/Trash']:
self.move_to(trash)
# def undelete(self):
# flag = '\\Deleted'
# self.gmail.imap.uid('STORE', self.uid, '-FLAGS', flag)
# if flag in self.flags: self.flags.remove(flag)
def move_to(self, name):
self.gmail.copy(self.uid, name, self.mailbox.name)
if name not in ['[Gmail]/Bin', '[Gmail]/Trash']:
self.delete()
def archive(self):
self.move_to('[Gmail]/All Mail')
def parse_headers(self, message):
hdrs = {}
for hdr in message.keys():
hdrs[hdr] = message[hdr]
return hdrs
def parse_flags(self, headers):
return list(ParseFlags(headers))
# flags = re.search(r'FLAGS \(([^\)]*)\)', headers).groups(1)[0].split(' ')
def parse_labels(self, headers):
if re.search(r'X-GM-LABELS \(([^\)]+)\)', headers):
labels = re.search(r'X-GM-LABELS \(([^\)]+)\)', headers).groups(1)[0].split(' ')
return map(lambda l: l.replace('"', '').decode("string_escape"), labels)
else:
return list()
def parse_subject(self, encoded_subject):
dh = decode_header(encoded_subject)
default_charset = 'ASCII'
return ''.join([ unicode(t[0], t[1] or default_charset) for t in dh ])
def parse(self, raw_message):
raw_headers = raw_message[0]
raw_email = raw_message[1]
self.message = email.message_from_string(raw_email)
self.headers = self.parse_headers(self.message)
self.to = self.message['to']
self.fr = self.message['from']
self.delivered_to = self.message['delivered_to']
self.subject = self.parse_subject(self.message['subject'])
if self.message.get_content_maintype() == "multipart":
for content in self.message.walk():
if content.get_content_type() == "text/plain":
self.body = content.get_payload(decode=True)
elif content.get_content_type() == "text/html":
self.html = content.get_payload(decode=True)
elif self.message.get_content_maintype() == "text":
self.body = self.message.get_payload()
self.sent_at = datetime.datetime.fromtimestamp(time.mktime(email.utils.parsedate_tz(self.message['date'])[:9]))
self.flags = self.parse_flags(raw_headers)
self.labels = self.parse_labels(raw_headers)
if re.search(r'X-GM-THRID (\d+)', raw_headers):
self.thread_id = re.search(r'X-GM-THRID (\d+)', raw_headers).groups(1)[0]
if re.search(r'X-GM-MSGID (\d+)', raw_headers):
self.message_id = re.search(r'X-GM-MSGID (\d+)', raw_headers).groups(1)[0]
# Parse attachments into attachment objects array for this message
self.attachments = [
Attachment(attachment) for attachment in self.message._payload
if not isinstance(attachment, basestring) and attachment.get('Content-Disposition') is not None
]
def fetch(self):
if not self.message:
response, results = self.gmail.imap.uid('FETCH', self.uid, '(BODY.PEEK[] FLAGS X-GM-THRID X-GM-MSGID X-GM-LABELS)')
self.parse(results[0])
return self.message
# returns a list of fetched messages (both sent and received) in chronological order
def fetch_thread(self):
self.fetch()
original_mailbox = self.mailbox
self.gmail.use_mailbox(original_mailbox.name)
# fetch and cache messages from inbox or other received mailbox
response, results = self.gmail.imap.uid('SEARCH', None, '(X-GM-THRID ' + self.thread_id + ')')
received_messages = {}
uids = results[0].split(' ')
if response == 'OK':
for uid in uids: received_messages[uid] = Message(original_mailbox, uid)
self.gmail.fetch_multiple_messages(received_messages)
self.mailbox.messages.update(received_messages)
# fetch and cache messages from 'sent'
self.gmail.use_mailbox('[Gmail]/Sent Mail')
response, results = self.gmail.imap.uid('SEARCH', None, '(X-GM-THRID ' + self.thread_id + ')')
sent_messages = {}
uids = results[0].split(' ')
if response == 'OK':
for uid in uids: sent_messages[uid] = Message(self.gmail.mailboxes['[Gmail]/Sent Mail'], uid)
self.gmail.fetch_multiple_messages(sent_messages)
self.gmail.mailboxes['[Gmail]/Sent Mail'].messages.update(sent_messages)
self.gmail.use_mailbox(original_mailbox.name)
# combine and sort sent and received messages
return sorted(dict(received_messages.items() + sent_messages.items()).values(), key=lambda m: m.sent_at)
class Attachment:
def __init__(self, attachment):
self.name = attachment.get_filename()
# Raw file data
self.payload = attachment.get_payload(decode=True)
# Filesize in kilobytes
self.size = int(round(len(self.payload)/1000.0))
def save(self, path=None):
if path is None:
# Save as name of attachment if there is no path specified
path = self.name
elif os.path.isdir(path):
# If the path is a directory, save as name of attachment in that directory
path = os.path.join(path, self.name)
with open(path, 'wb') as f:
f.write(self.payload)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/gmail.py | from __future__ import absolute_import
import re
import imaplib
from .mailbox import Mailbox
from .utf import encode as encode_utf7, decode as decode_utf7
from .exceptions import *
class Gmail():
# GMail IMAP defaults
GMAIL_IMAP_HOST = 'imap.gmail.com'
GMAIL_IMAP_PORT = 993
# GMail SMTP defaults
# TODO: implement SMTP functions
GMAIL_SMTP_HOST = "smtp.gmail.com"
GMAIL_SMTP_PORT = 587
def __init__(self):
self.username = None
self.password = None
self.access_token = None
self.imap = None
self.smtp = None
self.logged_in = False
self.mailboxes = {}
self.current_mailbox = None
# self.connect()
def connect(self, raise_errors=True):
# try:
# self.imap = imaplib.IMAP4_SSL(self.GMAIL_IMAP_HOST, self.GMAIL_IMAP_PORT)
# except socket.error:
# if raise_errors:
# raise Exception('Connection failure.')
# self.imap = None
self.imap = imaplib.IMAP4_SSL(self.GMAIL_IMAP_HOST, self.GMAIL_IMAP_PORT)
# self.smtp = smtplib.SMTP(self.server,self.port)
# self.smtp.set_debuglevel(self.debug)
# self.smtp.ehlo()
# self.smtp.starttls()
# self.smtp.ehlo()
return self.imap
def fetch_mailboxes(self):
response, mailbox_list = self.imap.list()
if response == 'OK':
for mailbox in mailbox_list:
mailbox_name = mailbox.split('"/"')[-1].replace('"', '').strip()
mailbox = Mailbox(self)
mailbox.external_name = mailbox_name
self.mailboxes[mailbox_name] = mailbox
def use_mailbox(self, mailbox):
if mailbox:
self.imap.select(mailbox)
self.current_mailbox = mailbox
def mailbox(self, mailbox_name):
if mailbox_name not in self.mailboxes:
mailbox_name = encode_utf7(mailbox_name)
mailbox = self.mailboxes.get(mailbox_name)
if mailbox and not self.current_mailbox == mailbox_name:
self.use_mailbox(mailbox_name)
return mailbox
def create_mailbox(self, mailbox_name):
mailbox = self.mailboxes.get(mailbox_name)
if not mailbox:
self.imap.create(mailbox_name)
mailbox = Mailbox(self, mailbox_name)
self.mailboxes[mailbox_name] = mailbox
return mailbox
def delete_mailbox(self, mailbox_name):
mailbox = self.mailboxes.get(mailbox_name)
if mailbox:
self.imap.delete(mailbox_name)
del self.mailboxes[mailbox_name]
def login(self, username, password):
self.username = username
self.password = password
if not self.imap:
self.connect()
try:
imap_login = self.imap.login(self.username, self.password)
self.logged_in = (imap_login and imap_login[0] == 'OK')
if self.logged_in:
self.fetch_mailboxes()
except imaplib.IMAP4.error:
raise AuthenticationError
# smtp_login(username, password)
return self.logged_in
def authenticate(self, username, access_token):
self.username = username
self.access_token = access_token
if not self.imap:
self.connect()
try:
auth_string = 'user=%s\1auth=Bearer %s\1\1' % (username, access_token)
imap_auth = self.imap.authenticate('XOAUTH2', lambda x: auth_string)
self.logged_in = (imap_auth and imap_auth[0] == 'OK')
if self.logged_in:
self.fetch_mailboxes()
except imaplib.IMAP4.error:
raise AuthenticationError
return self.logged_in
def logout(self):
self.imap.logout()
self.logged_in = False
def label(self, label_name):
return self.mailbox(label_name)
def find(self, mailbox_name="[Gmail]/All Mail", **kwargs):
box = self.mailbox(mailbox_name)
return box.mail(**kwargs)
def copy(self, uid, to_mailbox, from_mailbox=None):
if from_mailbox:
self.use_mailbox(from_mailbox)
self.imap.uid('COPY', uid, to_mailbox)
def fetch_multiple_messages(self, messages):
fetch_str = ','.join(messages.keys())
response, results = self.imap.uid('FETCH', fetch_str, '(BODY.PEEK[] FLAGS X-GM-THRID X-GM-MSGID X-GM-LABELS)')
for index in xrange(len(results) - 1):
raw_message = results[index]
if re.search(r'UID (\d+)', raw_message[0]):
uid = re.search(r'UID (\d+)', raw_message[0]).groups(1)[0]
messages[uid].parse(raw_message)
return messages
def labels(self, require_unicode=False):
keys = self.mailboxes.keys()
if require_unicode:
keys = [decode_utf7(key) for key in keys]
return keys
def inbox(self):
return self.mailbox("INBOX")
def spam(self):
return self.mailbox("[Gmail]/Spam")
def starred(self):
return self.mailbox("[Gmail]/Starred")
def all_mail(self):
return self.mailbox("[Gmail]/All Mail")
def sent_mail(self):
return self.mailbox("[Gmail]/Sent Mail")
def important(self):
return self.mailbox("[Gmail]/Important")
def mail_domain(self):
return self.username.split('@')[-1]
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/utils.py |
from .gmail import Gmail
def login(username, password):
gmail = Gmail()
gmail.login(username, password)
return gmail
def authenticate(username, access_token):
gmail = Gmail()
gmail.authenticate(username, access_token)
return gmail | 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/mailbox.py | from .message import Message
from .utf import encode as encode_utf7, decode as decode_utf7
class Mailbox():
def __init__(self, gmail, name="INBOX"):
self.name = name
self.gmail = gmail
self.date_format = "%d-%b-%Y"
self.messages = {}
@property
def external_name(self):
if "external_name" not in vars(self):
vars(self)["external_name"] = encode_utf7(self.name)
return vars(self)["external_name"]
@external_name.setter
def external_name(self, value):
if "external_name" in vars(self):
del vars(self)["external_name"]
self.name = decode_utf7(value)
def mail(self, prefetch=False, **kwargs):
search = ['ALL']
kwargs.get('read') and search.append('SEEN')
kwargs.get('unread') and search.append('UNSEEN')
kwargs.get('starred') and search.append('FLAGGED')
kwargs.get('unstarred') and search.append('UNFLAGGED')
kwargs.get('deleted') and search.append('DELETED')
kwargs.get('undeleted') and search.append('UNDELETED')
kwargs.get('draft') and search.append('DRAFT')
kwargs.get('undraft') and search.append('UNDRAFT')
kwargs.get('before') and search.extend(['BEFORE', kwargs.get('before').strftime(self.date_format)])
kwargs.get('after') and search.extend(['SINCE', kwargs.get('after').strftime(self.date_format)])
kwargs.get('on') and search.extend(['ON', kwargs.get('on').strftime(self.date_format)])
kwargs.get('header') and search.extend(['HEADER', kwargs.get('header')[0], kwargs.get('header')[1]])
kwargs.get('sender') and search.extend(['FROM', kwargs.get('sender')])
kwargs.get('fr') and search.extend(['FROM', kwargs.get('fr')])
kwargs.get('to') and search.extend(['TO', kwargs.get('to')])
kwargs.get('cc') and search.extend(['CC', kwargs.get('cc')])
kwargs.get('subject') and search.extend(['SUBJECT', kwargs.get('subject')])
kwargs.get('body') and search.extend(['BODY', kwargs.get('body')])
kwargs.get('label') and search.extend(['X-GM-LABELS', kwargs.get('label')])
kwargs.get('attachment') and search.extend(['HAS', 'attachment'])
kwargs.get('query') and search.extend([kwargs.get('query')])
emails = []
# print search
response, data = self.gmail.imap.uid('SEARCH', *search)
if response == 'OK':
uids = filter(None, data[0].split(' ')) # filter out empty strings
for uid in uids:
if not self.messages.get(uid):
self.messages[uid] = Message(self, uid)
emails.append(self.messages[uid])
if prefetch and emails:
messages_dict = {}
for email in emails:
messages_dict[email.uid] = email
self.messages.update(self.gmail.fetch_multiple_messages(messages_dict))
return emails
# WORK IN PROGRESS. NOT FOR ACTUAL USE
def threads(self, prefetch=False, **kwargs):
emails = []
response, data = self.gmail.imap.uid('SEARCH', 'ALL')
if response == 'OK':
uids = data[0].split(' ')
for uid in uids:
if not self.messages.get(uid):
self.messages[uid] = Message(self, uid)
emails.append(self.messages[uid])
if prefetch:
fetch_str = ','.join(uids)
response, results = self.gmail.imap.uid('FETCH', fetch_str, '(BODY.PEEK[] FLAGS X-GM-THRID X-GM-MSGID X-GM-LABELS)')
for index in xrange(len(results) - 1):
raw_message = results[index]
if re.search(r'UID (\d+)', raw_message[0]):
uid = re.search(r'UID (\d+)', raw_message[0]).groups(1)[0]
self.messages[uid].parse(raw_message)
return emails
def count(self, **kwargs):
return len(self.mail(**kwargs))
def cached_messages(self):
return self.messages
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/exceptions.py | # -*- coding: utf-8 -*-
"""
gmail.exceptions
~~~~~~~~~~~~~~~~~~~
This module contains the set of Gmails' exceptions.
"""
class GmailException(RuntimeError):
"""There was an ambiguous exception that occurred while handling your
request."""
class ConnectionError(GmailException):
"""A Connection error occurred."""
class AuthenticationError(GmailException):
"""Gmail Authentication failed."""
class Timeout(GmailException):
"""The request timed out."""
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/utils | qxf2_public_repos/newsletter_automation/tests/integration/utils/gmail/utf.py | # The contents of this file has been derived code from the Twisted project
# (http://twistedmatrix.com/). The original author is Jp Calderone.
# Twisted project license follows:
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
text_type = unicode
binary_type = str
PRINTABLE = set(range(0x20, 0x26)) | set(range(0x27, 0x7f))
def encode(s):
"""Encode a folder name using IMAP modified UTF-7 encoding.
Despite the function's name, the output is still a unicode string.
"""
if not isinstance(s, text_type):
return s
r = []
_in = []
def extend_result_if_chars_buffered():
if _in:
r.extend(['&', modified_utf7(''.join(_in)), '-'])
del _in[:]
for c in s:
if ord(c) in PRINTABLE:
extend_result_if_chars_buffered()
r.append(c)
elif c == '&':
extend_result_if_chars_buffered()
r.append('&-')
else:
_in.append(c)
extend_result_if_chars_buffered()
return ''.join(r)
def decode(s):
"""Decode a folder name from IMAP modified UTF-7 encoding to unicode.
Despite the function's name, the input may still be a unicode
string. If the input is bytes, it's first decoded to unicode.
"""
if isinstance(s, binary_type):
s = s.decode('latin-1')
if not isinstance(s, text_type):
return s
r = []
_in = []
for c in s:
if c == '&' and not _in:
_in.append('&')
elif c == '-' and _in:
if len(_in) == 1:
r.append('&')
else:
r.append(modified_deutf7(''.join(_in[1:])))
_in = []
elif _in:
_in.append(c)
else:
r.append(c)
if _in:
r.append(modified_deutf7(''.join(_in[1:])))
return ''.join(r)
def modified_utf7(s):
# encode to utf-7: '\xff' => b'+AP8-', decode from latin-1 => '+AP8-'
s_utf7 = s.encode('utf-7').decode('latin-1')
return s_utf7[1:-1].replace('/', ',')
def modified_deutf7(s):
s_utf7 = '+' + s.replace(',', '/') + '-'
# encode to latin-1: '+AP8-' => b'+AP8-', decode from utf-7 => '\xff'
return s_utf7.encode('latin-1').decode('utf-7') | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/Base_Page.py | """
Page class that all page models can inherit from
There are useful wrappers for common Selenium operations
"""
from selenium.webdriver.common.keys import Keys
from selenium import webdriver
from selenium.webdriver.common.alert import Alert
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.action_chains import ActionChains
import unittest,time,logging,os,inspect,pytest
from utils.Base_Logging import Base_Logging
from utils.BrowserStack_Library import BrowserStack_Library
from .driverfactory import DriverFactory
from page_objects import PageFactory
from utils.Test_Rail import Test_Rail
from utils import Tesults
from utils.stop_test_exception_util import Stop_Test_Exception
import conf.remote_credentials
import conf.base_url_conf
import conf.screenshot_conf
from utils import Gif_Maker
from utils import accessibility_util
from utils import snapshot_util
class Borg:
#The borg design pattern is to share state
#Src: http://code.activestate.com/recipes/66531/
__shared_state = {}
def __init__(self):
self.__dict__ = self.__shared_state
def is_first_time(self):
"Has the child class been invoked before?"
result_flag = False
if len(self.__dict__)==0:
result_flag = True
return result_flag
class Base_Page(Borg,unittest.TestCase):
"Page class that all page models can inherit from"
def __init__(self,base_url):
"Constructor"
Borg.__init__(self)
if self.is_first_time():
#Do these actions if this the first time this class is initialized
self.set_directory_structure()
self.image_url_list = []
self.msg_list = []
self.current_console_log_errors = []
self.window_structure = {}
self.testrail_flag = False
self.tesults_flag = False
self.images = []
self.browserstack_flag = False
self.highlight_flag = False
self.test_run_id = None
self.reset()
self.base_url = base_url
self.driver_obj = DriverFactory()
if self.driver is not None:
self.start() #Visit and initialize xpaths for the appropriate page
self.axe_util = accessibility_util.Accessibilityutil(self.driver)
self.snapshot_util = snapshot_util.Snapshotutil()
def reset(self):
"Reset the base page object"
self.driver = None
self.calling_module = None
self.result_counter = 0 #Increment whenever success or failure are called
self.pass_counter = 0 #Increment everytime success is called
self.mini_check_counter = 0 #Increment when conditional_write is called
self.mini_check_pass_counter = 0 #Increment when conditional_write is called with True
self.failure_message_list = []
self.screenshot_counter = 1
self.exceptions = []
self.gif_file_name = None
self.rp_logger = None
def accept_alert(self):
"Accept the alert "
return self.driver.switch_to.alert.accept()
def dismiss_alert(self):
"Cancel the alert"
return self.driver.switch_to.alert.dismiss()
def turn_on_highlight(self):
"Highlight the elements being operated upon"
self.highlight_flag = True
def turn_off_highlight(self):
"Turn off the highlighting feature"
self.highlight_flag = False
def get_failure_message_list(self):
"Return the failure message list"
return self.failure_message_list
def switch_page(self,page_name):
"Switch the underlying class to the required Page"
self.__class__ = PageFactory.PageFactory.get_page_object(page_name,base_url=self.base_url).__class__
def register_driver(self,remote_flag,os_name,os_version,browser,browser_version,remote_project_name,remote_build_name):
"Register the driver with Page."
self.set_screenshot_dir(os_name,os_version,browser,browser_version) # Create screenshot directory
self.set_log_file()
self.driver = self.driver_obj.get_web_driver(remote_flag,os_name,os_version,browser,browser_version,remote_project_name,remote_build_name)
self.driver.implicitly_wait(5)
self.driver.maximize_window()
if conf.remote_credentials.REMOTE_BROWSER_PLATFORM == 'BS' and remote_flag.lower() == 'y':
self.register_browserstack()
self.session_url = self.browserstack_obj.get_session_url()
self.browserstack_msg = 'BrowserStack session URL:'
self.write( self.browserstack_msg + '\n' + str(self.session_url))
self.start()
def get_current_driver(self):
"Return current driver."
return self.driver
def register_testrail(self):
"Register TestRail with Page"
self.testrail_flag = True
self.tr_obj = Test_Rail()
def set_test_run_id(self,test_run_id):
"Set TestRail's test run id"
self.test_run_id = test_run_id
def register_tesults(self):
"Register Tesults with Page"
self.tesults_flag = True
def register_browserstack(self):
"Register Browser Stack with Page"
self.browserstack_flag = True
self.browserstack_obj = BrowserStack_Library()
def set_calling_module(self,name):
"Set the test name"
self.calling_module = name
def get_calling_module(self):
"Get the name of the calling module"
if self.calling_module is None:
#Try to intelligently figure out name of test when not using pytest
full_stack = inspect.stack()
index = -1
for stack_frame in full_stack:
print(stack_frame[1],stack_frame[3])
#stack_frame[1] -> file name
#stack_frame[3] -> method
if 'test_' in stack_frame[1]:
index = full_stack.index(stack_frame)
break
test_file = full_stack[index][1]
test_file = test_file.split(os.sep)[-1]
testname = test_file.split('.py')[0]
self.set_calling_module(testname)
return self.calling_module
def set_directory_structure(self):
"Setup the required directory structure if it is not already present"
try:
self.screenshots_parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','screenshots'))
if not os.path.exists(self.screenshots_parent_dir):
os.makedirs(self.screenshots_parent_dir)
self.logs_parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),'..','log'))
if not os.path.exists(self.logs_parent_dir):
os.makedirs(self.logs_parent_dir)
except Exception as e:
self.write("Exception when trying to set directory structure")
self.write(str(e))
self.exceptions.append("Error when setting up the directory structure")
def set_screenshot_dir(self,os_name,os_version,browser,browser_version):
"Set the screenshot directory"
try:
self.screenshot_dir = self.get_screenshot_dir(os_name,os_version,browser,browser_version,overwrite_flag=True)
if not os.path.exists(self.screenshot_dir):
os.makedirs(self.screenshot_dir)
except Exception as e:
self.write("Exception when trying to set screenshot directory")
self.write(str(e))
self.exceptions.append("Error when setting up the screenshot directory")
def get_screenshot_dir(self,os_name,os_version,browser,browser_version,overwrite_flag=False):
"Get the name of the test"
if os_name == 'OS X':
os_name = 'OS_X'
if isinstance(os_name,list):
windows_browser_combination = browser.lower()
else:
windows_browser_combination = os_name.lower() + '_' + str(os_version).lower() + '_' + browser.lower()+ '_' + str(browser_version)
self.testname = self.get_calling_module()
self.testname =self.testname.replace('<','')
self.testname =self.testname.replace('>','')
self.testname = self.testname + '[' + str(windows_browser_combination)+ ']'
self.screenshot_dir = self.screenshots_parent_dir + os.sep + self.testname
if os.path.exists(self.screenshot_dir) and overwrite_flag is True:
for i in range(1,4096):
if os.path.exists(self.screenshot_dir + '_'+str(i)):
continue
else:
os.rename(self.screenshot_dir,self.screenshot_dir +'_'+str(i))
break
return self.screenshot_dir
def set_log_file(self):
'set the log file'
self.log_name = self.testname + '.log'
self.log_obj = Base_Logging(log_file_name=self.log_name,level=logging.DEBUG)
def set_rp_logger(self,rp_pytest_service):
"Set the reportportal logger"
try:
self.rp_logger = self.log_obj.setup_rp_logging(rp_pytest_service)
except Exception as e:
self.exceptions.append("Error when setting up the reportportal logger", e)
def append_latest_image(self,screenshot_name):
"Get image url list from Browser Stack"
screenshot_url = self.browserstack_obj.get_latest_screenshot_url()
image_dict = {}
image_dict['name'] = screenshot_name
image_dict['url'] = screenshot_url
self.image_url_list.append(image_dict)
def save_screenshot_reportportal(self,image_name):
"Method to save image to ReportPortal"
try:
with open(image_name, "rb") as fh:
image = fh.read()
screenshot_name = os.path.basename(image_name)
self.rp_logger.info(
screenshot_name,
attachment={
"name": screenshot_name,
"data": image,
"mime": "image/png"
},
)
except Exception as e:
self.write("Exception when trying to get rplogger")
self.write(str(e))
self.exceptions.append("Error when trying to get reportportal logger")
def save_screenshot(self,screenshot_name,pre_format=" #Debug screenshot: "):
"Take a screenshot"
if self.browserstack_flag is True and conf.screenshot_conf.BS_ENABLE_SCREENSHOTS is False:
return
if os.path.exists(self.screenshot_dir + os.sep + screenshot_name+'.png'):
for i in range(1,100):
if os.path.exists(self.screenshot_dir + os.sep +screenshot_name+'_'+str(i)+'.png'):
continue
else:
os.rename(self.screenshot_dir + os.sep +screenshot_name+'.png',self.screenshot_dir + os.sep +screenshot_name+'_'+str(i)+'.png')
break
screenshot_name = self.screenshot_dir + os.sep + screenshot_name+'.png'
self.driver.get_screenshot_as_file(screenshot_name)
#self.conditional_write(flag=True,positive= screenshot_name + '.png',negative='', pre_format=pre_format)
if self.rp_logger:
self.save_screenshot_reportportal(screenshot_name)
if self.browserstack_flag is True:
self.append_latest_image(screenshot_name)
if self.tesults_flag is True:
self.images.append(screenshot_name)
def open(self,url,wait_time=2):
"Visit the page base_url + url"
if self.base_url[-1] != '/' and url[0] != '/':
url = '/' + url
if self.base_url[-1] == '/' and url[0] == '/':
url = url[1:]
url = self.base_url + url
if self.driver.current_url != url:
self.driver.get(url)
self.wait(wait_time)
def get_current_url(self):
"Get the current URL"
return self.driver.current_url
def get_page_title(self):
"Get the current page title"
return self.driver.title
def get_page_paths(self,section):
"Open configurations file,go to right sections,return section obj"
pass
def get_current_window_handle(self):
"Return the latest window handle"
return self.driver.current_window_handle
def set_window_name(self,name):
"Set the name of the current window name"
try:
window_handle = self.get_current_window_handle()
self.window_structure[window_handle] = name
except Exception as e:
self.write("Exception when trying to set windows name")
self.write(str(e))
self.exceptions.append("Error when setting up the name of the current window")
def get_window_by_name(self,window_name):
"Return window handle id based on name"
window_handle_id = None
for window_id,name in self.window_structure.iteritems():
if name == window_name:
window_handle_id = window_id
break
return window_handle_id
def switch_window(self,name=None):
"Make the driver switch to the last window or a window with a name"
result_flag = False
try:
if name is not None:
window_handle_id = self.get_window_by_name(name)
else:
window_handle_id = self.driver.window_handles[-1]
if window_handle_id is not None:
self.driver.switch_to.window(window_handle_id)
result_flag = True
self.conditional_write(result_flag,
'Automation switched to the browser window: %s'%name,
'Unable to locate and switch to the window with name: %s'%name,
level='debug')
except Exception as e:
self.write("Exception when trying to switch window")
self.write(str(e))
self.exceptions.append("Error when switching browser window")
return result_flag
def close_current_window(self):
"Close the current window"
result_flag = False
try:
before_window_count = len(self.get_window_handles())
self.driver.close()
after_window_count = len(self.get_window_handles())
if (before_window_count - after_window_count) == 1:
result_flag = True
except Exception as e:
self.write('Could not close the current window')
self.write(str(e))
self.exceptions.append("Error when trying to close the current window")
return result_flag
def get_window_handles(self):
"Get the window handles"
return self.driver.window_handles
def switch_frame(self,name=None,index=None,wait_time=2):
"Make the driver switch to the frame"
result_flag = False
self.wait(wait_time)
self.driver.switch_to.default_content()
try:
if name is not None:
self.driver.switch_to.frame(name)
elif index is not None:
self.driver.switch_to.frame(driver.find_elements(By.TAG_NAME,("iframe")[index]))
result_flag = True
except Exception as e:
self.write("Exception when trying to switch frame")
self.write(str(e))
self.exceptions.append("Error when switching to frame")
return result_flag
def _get_locator(key):
"fetches locator from the locator conf"
value = None
try:
path_conf_file = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'conf', 'locators.conf'))
if path_conf_file is not None:
value = Conf_Reader.get_value(path_conf_file, key)
except Exception as e:
print (str(e))
self.exceptions.append("Error when fetching locator from the locator.conf")
return value
def get_element_attribute_value(self,element,attribute_name):
"Return the elements attribute value if present"
attribute_value = None
if (hasattr(element,attribute_name)):
attribute_value = element.get_attribute(attribute_name)
return attribute_value
def highlight_element(self,element,wait_seconds=3):
"Highlights a Selenium webdriver element"
original_style = self.get_element_attribute_value(element,'style')
self.apply_style_to_element(element,"border: 4px solid #F6F7AD;")
self.wait(wait_seconds)
self.apply_style_to_element(element,original_style)
def highlight_elements(self,elements,wait_seconds=3):
"Highlights a group of elements"
original_styles = []
for element in elements:
original_styles.append(self.get_element_attribute_value(element,'style'))
self.apply_style_to_element(element,"border: 4px solid #F6F7AD;")
self.wait(wait_seconds)
for style,element in zip(original_styles, elements) :
self.apply_style_to_element(element,style)
def apply_style_to_element(self,element,element_style):
self.driver.execute_script("arguments[0].setAttribute('style', arguments[1])", element, element_style)
def get_element(self,locator,verbose_flag=True):
"Return the DOM element of the path or 'None' if the element is not found "
dom_element = None
try:
locator = self.split_locator(locator)
dom_element = self.driver.find_element(*locator)
if self.highlight_flag is True:
self.highlight_element(dom_element)
except Exception as e:
if verbose_flag is True:
self.write(str(e),'debug')
self.write("Check your locator-'%s,%s' in the conf/locators.conf file" %(locator[0],locator[1]))
self.exceptions.append("Check your locator-'%s,%s' in the conf/locators.conf file" %(locator[0],locator[1]))
return dom_element
def split_locator(self,locator):
"Split the locator type and locator"
result = ()
try:
result = tuple(locator.split(',',1))
except Exception as e:
self.write(str(e),'debug')
self.write("Error while parsing locator")
self.exceptions.append("Unable to split the locator-'%s' in the conf/locators.conf file"%(locator[0],locator[1]))
return result
def get_elements(self,locator,msg_flag=True):
"Return a list of DOM elements that match the locator"
dom_elements = []
try:
locator = self.split_locator(locator)
dom_elements = self.driver.find_elements(*locator)
if self.highlight_flag is True:
self.highlight_elements(dom_elements)
except Exception as e:
if msg_flag==True:
self.write(str(e),'debug')
self.write("Check your locator-'%s,%s' in the conf/locators.conf file" %(locator[0],locator[1]))
self.exceptions.append("Unable to locate the element with the xpath -'%s,%s' in the conf/locators.conf file"%(locator[0],locator[1]))
return dom_elements
def accessibility_inject_axe(self):
"Inject Axe into the Page"
try:
return self.axe_util.inject()
except Exception as e:
self.write(e)
def accessibility_run_axe(self,exclude_selectors=None):
"Run Axe into the Page"
try:
return self.axe_util.run(exclude_selectors)
except Exception as e:
self.write(e)
def snapshot_assert_match(self, value, snapshot_name):
"Asserts the current value of the snapshot with the given snapshot_name"
result_flag = False
try:
self.snapshot_util.assert_match(value, snapshot_name)
result_flag = True
except Exception as e:
self.write(e)
return result_flag
def click_element(self,locator,wait_time=3):
"Click the button supplied"
result_flag = False
try:
link = self.get_element(locator)
if link is not None:
link.click()
result_flag=True
self.wait(wait_time)
except Exception as e:
self.write(str(e),'debug')
self.write('Exception when clicking link with path: %s'%locator)
self.exceptions.append("Error when clicking the element with path,'%s' in the conf/locators.conf file"%locator)
return result_flag
def set_text(self,locator,value,clear_flag=True):
"Set the value of the text field"
text_field = None
try:
text_field = self.get_element(locator)
if text_field is not None and clear_flag is True:
try:
text_field.clear()
except Exception as e:
self.write(str(e),'debug')
self.exceptions.append("Could not clear the text field- '%s' in the conf/locators.conf file"%locator)
except Exception as e:
self.write("Check your locator-'%s,%s' in the conf/locators.conf file" %(locator[0],locator[1]))
result_flag = False
if text_field is not None:
try:
text_field.send_keys(value)
result_flag = True
except Exception as e:
self.write('Could not write to text field: %s'%locator,'debug')
self.write(str(e),'debug')
self.exceptions.append("Could not write to text field- '%s' in the conf/locators.conf file"%locator)
return result_flag
def get_text(self,locator):
"Return the text for a given path or the 'None' object if the element is not found"
text = ''
try:
text = self.get_element(locator).text
except Exception as e:
self.write(e)
self.exceptions.append("Error when getting text from the path-'%s' in the conf/locators.conf file"%locator)
return None
else:
return text.encode('utf-8')
def get_dom_text(self,dom_element):
"Return the text of a given DOM element or the 'None' object if the element has no attribute called text"
text = None
try:
text = dom_element.text
text = text.encode('utf-8')
except Exception as e:
self.write(e)
self.exceptions.append("Error when getting text from the DOM element-'%s' in the conf/locators.conf file"%locator)
return text
def select_checkbox(self,locator):
"Select a checkbox if not already selected"
result_flag = False
try:
checkbox = self.get_element(locator)
if checkbox.is_selected() is False:
result_flag = self.toggle_checkbox(locator)
else:
result_flag = True
except Exception as e:
self.write(e)
self.exceptions.append("Error when selecting checkbox-'%s' in the conf/locators.conf file"%locator)
return result_flag
def deselect_checkbox(self,locator):
"Deselect a checkbox if it is not already deselected"
result_flag = False
try:
checkbox = self.get_element(locator)
if checkbox.is_selected() is True:
result_flag = self.toggle_checkbox(locator)
else:
result_flag = True
except Exception as e:
self.write(e)
self.exceptions.append("Error when deselecting checkbox-'%s' in the conf/locators.conf file"%locator)
return result_flag
unselect_checkbox = deselect_checkbox #alias the method
def toggle_checkbox(self,locator):
"Toggle a checkbox"
try:
return self.click_element(locator)
except Exception as e:
self.write(e)
self.exceptions.append("Error when toggling checkbox-'%s' in the conf/locators.conf file"%locator)
def select_dropdown_option(self, locator, option_text):
"Selects the option in the drop-down"
result_flag= False
try:
dropdown = self.get_element(locator)
for option in dropdown.find_elements(By.TAG_NAME,'option'):
if option.text == option_text:
option.click()
result_flag = True
break
except Exception as e:
self.write(e)
self.exceptions.append("Error when selecting option from the drop-down '%s' "%locator)
return result_flag
def check_element_present(self,locator):
"This method checks if the web element is present in page or not and returns True or False accordingly"
result_flag = False
if self.get_element(locator,verbose_flag=False) is not None:
result_flag = True
return result_flag
def check_element_displayed(self,locator):
"This method checks if the web element is present in page or not and returns True or False accordingly"
result_flag = False
try:
if self.get_element(locator) is not None:
element = self.get_element(locator,verbose_flag=False)
if element.is_displayed() is True:
result_flag = True
except Exception as e:
self.write(e)
self.exceptions.append("Web element not present in the page, please check the locator is correct -'%s' in the conf/locators.conf file"%locator)
return result_flag
def hit_enter(self,locator,wait_time=2):
"Hit enter"
try:
element = self.get_element(locator)
element.send_keys(Keys.ENTER)
self.wait(wait_time)
except Exception as e:
self.write(str(e),'debug')
self.exceptions.append("An exception occurred when hitting enter")
return None
def scroll_down(self,locator,wait_time=2):
"Scroll down"
try:
element = self.get_element(locator)
element.send_keys(Keys.PAGE_DOWN)
self.wait(wait_time)
except Exception as e:
self.write(str(e),'debug')
self.exceptions.append("An exception occured when scrolling down")
return None
def hover(self,locator,wait_seconds=2):
"Hover over the element"
#Note: perform() of ActionChains does not return a bool
#So we have no way of returning a bool when hover is called
element = self.get_element(locator)
action_obj = ActionChains(self.driver)
action_obj.move_to_element(element)
action_obj.perform()
self.wait(wait_seconds)
def teardown(self):
"Tears down the driver"
self.driver.quit()
self.reset()
def write(self,msg,level='info'):
"Log the message"
msg = str(msg)
self.msg_list.append('%-8s: '%level.upper() + msg)
if self.browserstack_flag is True:
if self.browserstack_msg not in msg:
self.msg_list.pop(-1) #Remove the redundant BrowserStack message
self.log_obj.write(msg,level)
def report_to_testrail(self,case_id,test_run_id,result_flag,msg=''):
"Update Test Rail"
if self.testrail_flag is True:
msg += '\n'.join(self.msg_list)
msg = msg + "\n"
if self.browserstack_flag is True:
for image in self.image_url_list:
msg += '\n' + '[' + image['name'] + ']('+ image['url']+')'
msg += '\n\n' + '[' + 'Watch Replay On BrowserStack' + ']('+ self.session_url+')'
self.tr_obj.update_testrail(case_id,test_run_id,result_flag,msg=msg)
self.image_url_list = []
self.msg_list = []
def add_tesults_case(self, name, desc, suite, result_flag, msg='', files=[], params={}, custom={}):
"Update Tesults with test results"
if self.tesults_flag is True:
result = "unknown"
failReason = ""
if result_flag == True:
result = "pass"
if result_flag == False:
result = "fail"
failReason = msg
for image in self.images:
files.append(self.screenshot_dir + os.sep + image + '.png')
self.images = []
caseObj = {'name': name, 'suite': suite, 'desc': desc, 'result': result, 'reason': failReason, 'files': files, 'params': params}
for key, value in custom.items():
caseObj[key] = str(value)
Tesults.add_test_case(caseObj)
def make_gif(self):
"Create a gif of all the screenshots within the screenshots directory"
self.gif_file_name = Gif_Maker.make_gif(self.screenshot_dir,name=self.calling_module)
return self.gif_file_name
def wait(self,wait_seconds=5,locator=None):
"Performs wait for time provided"
if locator is not None:
self.smart_wait(locator,wait_seconds=wait_seconds)
else:
time.sleep(wait_seconds)
def smart_wait(self,locator,wait_seconds=5):
"Performs an explicit wait for a particular element"
result_flag = False
try:
path = self.split_locator(locator)
WebDriverWait(self.driver, wait_seconds).until(EC.presence_of_element_located(path))
result_flag =True
except Exception:
self.conditional_write(result_flag,
positive='Located the element: %s'%locator,
negative='Could not locate the element %s even after %.1f seconds'%(locator,wait_seconds))
return result_flag
def success(self,msg,level='info',pre_format='PASS: '):
"Write out a success message"
if level.lower() == 'critical':
level = 'info'
self.log_obj.write(pre_format + msg,level)
self.result_counter += 1
self.pass_counter += 1
def failure(self,msg,level='info',pre_format='FAIL: '):
"Write out a failure message"
self.log_obj.write(pre_format + msg,level)
self.result_counter += 1
self.failure_message_list.append(pre_format + msg)
if level.lower() == 'critical':
self.teardown()
raise Stop_Test_Exception("Stopping test because: "+ msg)
def log_result(self,flag,positive,negative,level='info'):
"Write out the result of the test"
if level.lower() == "inverse":
if flag is True:
self.failure(positive,level="error")
else:
self.success(negative,level="info")
else:
if flag is True:
self.success(positive,level=level)
else:
self.failure(negative,level=level)
def read_browser_console_log(self):
"Read Browser Console log"
log = None
try:
log = self.driver.get_log('browser')
return log
except Exception as e:
self.write("Exception when reading Browser Console log")
self.write(str(e))
return log
def conditional_write(self,flag,positive,negative,level='info'):
"Write out either the positive or the negative message based on flag"
self.mini_check_counter += 1
if level.lower() == "inverse":
if flag is True:
self.write(positive,level='error')
else:
self.write(negative,level='info')
self.mini_check_pass_counter += 1
else:
if flag is True:
self.write(positive,level='info')
self.mini_check_pass_counter += 1
else:
self.write(negative,level='error')
def execute_javascript(self,js_script,*args):
"Execute javascipt"
try:
self.driver.execute_script(js_script)
result_flag = True
except Exception as e:
result_flag = False
return result_flag
def write_test_summary(self):
"Print out a useful, human readable summary"
self.write('\n\n************************\n--------RESULT--------\nTotal number of checks=%d'%self.result_counter)
self.write('Total number of checks passed=%d\n----------------------\n************************\n\n'%self.pass_counter)
self.write('Total number of mini-checks=%d'%self.mini_check_counter)
self.write('Total number of mini-checks passed=%d'%self.mini_check_pass_counter)
failure_message_list = self.get_failure_message_list()
if len(failure_message_list) > 0:
self.write('\n--------FAILURE SUMMARY--------\n')
for msg in failure_message_list:
self.write(msg)
if len(self.exceptions) > 0:
self.exceptions = list(set(self.exceptions))
self.write('\n--------USEFUL EXCEPTION--------\n')
for (i,msg) in enumerate(self.exceptions,start=1):
self.write(str(i)+"- " + msg)
self.make_gif()
if self.gif_file_name is not None:
self.write("Screenshots & GIF created at %s"%self.screenshot_dir)
self.write('************************')
def start(self):
"Overwrite this method in your Page module if you want to visit a specific URL"
pass
_get_locator = staticmethod(_get_locator)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/zero_page.py | """
This class models the first dummy page needed by the framework to start.
URL: None
Please do not modify or delete this page
"""
from .Base_Page import Base_Page
class Zero_Page(Base_Page):
"Page Object for the dummy page"
def start(self):
"Use this method to go to specific URL -- if needed"
pass | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/edit_articles_page.py | """
This class models the newsletter main page.
"""
from .Base_Page import Base_Page
from .mail_object import Mail_Object
from .search_object import Search_Object
from .table_object import Table_Object
from .hamburger_object import Hamburger_Object
from utils.Wrapit import Wrapit
class Editarticles_Page(Base_Page, Mail_Object, Hamburger_Object, Search_Object, Table_Object):
"Page Object for the newsletter main page"
def start(self):
"Use this method to go to specific URL -- if needed"
url = 'manage-articles'
self.open(url)
#click manage article button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_managearticle_button(self):
click_manage_article=self.click_element(self.manage_article)
return click_manage_article | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/form_object.py | import conf.add_articles_locators_conf as locators
import time
from utils.Wrapit import Wrapit
class Form_Object:
#get home button locator
home=locators.home
#get the add articles locator
add_articles=locators.add_articles
#get the url locator
url=locators.url
#get the title locator
title=locators.title
#get the description locator
description=locators.description
#get the time locator
time =locators.time
#get the category locator
category =locators.category
#get the add_article locator
submit =locators.submit
#get the add_another_article locator
add_another_articles=locators.add_another_articles
@Wrapit._exceptionHandler
@Wrapit._screenshot
def home_hamburger(self):
"Click the home link"
result_flag = self.click_element(self.home)
self.conditional_write(result_flag,
positive="Clicked on the Home nav button",
negative="Could not click on the Home button")
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_add_article(self):
"Click the add articles button"
add_button=self.click_element(self.add_articles)
return add_button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_url(self,url):
"Set the URL in the add article form"
result_flag = self.set_text(self.url,url)
self.conditional_write(result_flag,
positive='Set the url to: %s'%url,
negative='Failed to set the url in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_title(self,title):
"Set the title in the add article form"
result_flag = self.set_text(self.title,title)
self.conditional_write(result_flag,
positive='Set the title to: %s'%title,
negative='Failed to set the url in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_description(self,description):
"Set the description in the add article form"
result_flag = self.set_text(self.description,description)
self.conditional_write(result_flag,
positive='Set the description to: %s'%description,
negative='Failed to set the description in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_time(self,runtime):
"Set the time in the add article form"
result_flag = self.set_text(self.time,runtime)
self.conditional_write(result_flag,
positive='Set the time to: %s'%runtime,
negative='Failed to set the time in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_category(self,category):
"Set category in the add article form"
result_flag = self.select_dropdown_option(self.category,category)
self.conditional_write(result_flag,
positive='Set the category to: %s'%category,
negative='Failed to set the category in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_submit(self):
"Click the submit button of add article"
result_flag = self.click_element(self.submit)
self.conditional_write(result_flag,
positive='Clicked submit on the add article form',
negative='Could not click submit on the add article form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_addanother_article(self):
"Click the add another article button"
result_flag = self.click_element(self.add_another_articles)
self.conditional_write(result_flag,
positive='Clicked on the add another article link',
negative='Could not click on add another article link',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def submit_article(self,url,title,description,runtime,category):
"Submit the article"
result_flag = self.set_url(url)
result_flag &= self.set_title(title)
result_flag &= self.set_description(description)
result_flag &= self.set_time(runtime)
result_flag &= self.set_category(category)
result_flag &= self.click_submit()
return result_flag
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/add_articles_page.py | """
This class models the add article page.
"""
from .Base_Page import Base_Page
from .form_object import Form_Object
from .hamburger_object import Hamburger_Object
class Addarticles_Page(Base_Page, Hamburger_Object, Form_Object):
"Page Object for the newsletter main page"
def start(self):
"Use this method to go to specific URL -- if needed"
url = 'articles'
self.open(url)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/manage_articles_page.py | """
This class models the newsletter main page.
"""
from .Base_Page import Base_Page
from .mail_object import Mail_Object
from .search_object import Search_Object
from .table_object import Table_Object
from .hamburger_object import Hamburger_Object
from utils.Wrapit import Wrapit
class Managearticles_Page(Base_Page, Mail_Object, Hamburger_Object, Search_Object, Table_Object):
"Page Object for the newsletter main page"
def start(self):
"Use this method to go to specific URL -- if needed"
url = 'manage-articles'
self.open(url)
#click manage article button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_managearticle_button(self):
click_manage_article=self.click_element(self.manage_article)
return click_manage_article
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/table_object.py | from re import search
import conf.manage_articles_locator_conf as locators
from utils.Wrapit import Wrapit
class Table_Object:
#get the edit locator
edit =locators.edit
#get the edit_url locator
edit_url =locators.edit_url
#get the edit_title locator
edit_title =locators.edit_title
#get the edit_description locator
edit_description=locators.edit_description
#get the edit_time locator
edit_time=locators.edit_time
#get the edit_category locator
edit_category=locators.edit_category
#get the edit_save locator
edit_save=locators.edit_save
#get the edit_cancel locator
edit_cancel=locators.edit_cancel
#get the delete locator
delete =locators.delete
def click_edit_button(self):
add_button=self.click_element(self.edit)
return add_button
def set_url(self,url):
result_flag = self.set_text(self.edit_url,url)
self.conditional_write(result_flag,
positive='Set the url to: %s'%url,
negative='Failed to set the url in the form',
level='debug')
def set_title(self,title):
result_flag = self.set_text(self.edit_title,title)
self.conditional_write(result_flag,
positive='Set the title to: %s'%title,
negative='Failed to set the url in the form',
level='debug')
def set_description(self,description):
result_flag = self.set_text(self.edit_description,description)
self.conditional_write(result_flag,
positive='Set the description to: %s'%description,
negative='Failed to set the description in the form',
level='debug')
def set_time(self,runtime):
result_flag = self.set_text(self.edit_time,runtime)
self.conditional_write(result_flag,
positive='Set the time to: %s'%runtime,
negative='Failed to set the time in the form',
level='debug')
def set_category(self,category):
result_flag = self.select_dropdown_option(self.edit_category,category)
self.conditional_write(result_flag,
positive='Set the category to: %s'%category,
negative='Failed to set the category in the form',
level='debug')
#click the close button
def click_save_button(self):
submit_button=self.click_element(self.edit_save)
return submit_button
def click_delete_button(self):
add_button=self.click_element(self.delete)
return add_button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def edit_articles(self,url,title,description,runtime,category):
"Submit the article"
result_flag = self.click_edit_button()
result_flag = self.set_url(url)
result_flag = self.set_title(title)
result_flag = self.set_description(description)
result_flag = self.set_time(runtime)
result_flag = self.set_category(category)
result_flag = self.click_save_button()
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/Login_page.py | """
This class models the newsletter login page.
"""
from .Base_Page import Base_Page
from .mail_object import Mail_Object
class Login_Page(Base_Page, Mail_Object):
"Page Object for the newsletter login page"
def start(self):
"Use this method to go to specific URL -- if needed"
url = '/'
self.open(url)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/create_newsletter_page.py | """
This class models the newsletter create newsletter page.
"""
from .Base_Page import Base_Page
from .mail_object import Mail_Object
from .form_object_create_newsletter import Form_Object_Create_Newsletter
from .hamburger_object import Hamburger_Object
import conf.create_newsletter_locator_conf as locators
class Createnewsletter_Page(Base_Page, Mail_Object, Hamburger_Object, Form_Object_Create_Newsletter):
"Page Object for the create newsletter page"
def start(self):
"Use this method to go to specific URL -- if needed"
url = 'create-newsletter'
self.open(url)
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/driverfactory.py | """
DriverFactory class
This module gets the webdrivers for different browsers and sets up the remote testing platforms for automation tests and mobile tests.
"""
import os
import sys
from selenium import webdriver
from selenium.webdriver.remote.webdriver import RemoteConnection
from appium import webdriver as mobile_webdriver
from conf import remote_credentials
from page_objects.drivers.remote_options import RemoteOptions
from page_objects.drivers.local_browsers import LocalBrowsers
from conf import ports_conf
from conf import screenshot_conf
localhost_url = 'http://localhost:%s/wd/hub'%ports_conf.port #Set the url of localhost
class DriverFactory(RemoteOptions, LocalBrowsers):
"""Class contains methods for getting web drivers and setting up remote testing platforms."""
def __init__(self, browser='ff', browser_version=None, os_name=None):
"""Constructor for the Driver factory."""
self.browser = browser
self.browser_version = browser_version
self.os_name = os_name
def get_web_driver(self, remote_flag, os_name, os_version, browser,
browser_version, remote_project_name, remote_build_name):
"""Return the appropriate driver."""
if remote_flag.lower() == 'y':
web_driver = self.select_remote_platform(remote_flag, os_name, os_version,
browser, browser_version, remote_project_name,
remote_build_name)
elif remote_flag.lower() == 'n':
web_driver = self.run_local(browser)
return web_driver
def get_browser(self, browser, browser_version):
"""Select the browser."""
if browser.lower() == 'ff' or browser.lower() == 'firefox':
desired_capabilities = self.firefox(browser_version)
elif browser.lower() == 'ie':
desired_capabilities = self.explorer(browser_version)
elif browser.lower() == 'chrome':
desired_capabilities = self.chrome(browser_version)
elif browser.lower() == 'opera':
desired_capabilities = self.opera(browser_version)
elif browser.lower() == 'safari':
desired_capabilities = self.safari(browser_version)
else:
print("\nDriverFactory does not know the browser\t%s\n"%(browser))
return desired_capabilities
def select_remote_platform(self, remote_flag, os_name, os_version, browser,
browser_version, remote_project_name, remote_build_name):
"""Select the remote platform to run the test when the remote_flag is Y."""
try:
if remote_credentials.REMOTE_BROWSER_PLATFORM == 'BS':
web_driver = self.run_browserstack(os_name, os_version, browser, browser_version,
remote_project_name, remote_build_name)
else:
web_driver = self.run_sauce_lab(os_name, os_version, browser, browser_version)
except Exception as exception:
self.print_exception(exception, remote_flag)
return web_driver
def run_browserstack(self, os_name, os_version, browser, browser_version,
remote_project_name, remote_build_name):
"""Run the test in browser stack when remote flag is 'Y'."""
#Get the browser stack credentials from browser stack credentials file
username = remote_credentials.USERNAME
password = remote_credentials.ACCESS_KEY
#Set browser
desired_capabilities = self.get_browser(browser, browser_version)
#Set os and os_version
desired_capabilities = self.set_os(desired_capabilities, os_name, os_version)
#Set remote project name
if remote_project_name is not None:
desired_capabilities = self.remote_project_name(desired_capabilities, remote_project_name)
#Set remote build name
if remote_build_name is not None:
desired_capabilities = self.remote_build_name(desired_capabilities, remote_build_name)
#Screenshot config
if screenshot_conf.BS_ENABLE_SCREENSHOTS is None:
screenshot_conf.BS_ENABLE_SCREENSHOTS = False
desired_capabilities['browserstack.debug'] = str(screenshot_conf.BS_ENABLE_SCREENSHOTS).lower()
web_driver = webdriver.Remote(RemoteConnection("http://%s:%s@hub-cloud.browserstack.com/wd/hub"
%(username, password), resolve_ip=False), desired_capabilities=desired_capabilities)
return web_driver
def run_sauce_lab(self, os_name, os_version, browser, browser_version):
"""Run the test in sauce labs when remote flag is 'Y'."""
#Get the sauce labs credentials from sauce.credentials file
username = remote_credentials.USERNAME
password = remote_credentials.ACCESS_KEY
#set browser
desired_capabilities = self.get_browser(browser, browser_version)
#set saucelab platform
desired_capabilities = self.saucelab_platform(desired_capabilities, os_name, os_version)
web_driver = webdriver.Remote(command_executor="http://%s:%s@ondemand.saucelabs.com:80/wd/hub"
%(username, password), desired_capabilities=desired_capabilities)
return web_driver
def run_local(self, browser):
"""Run the test on local system."""
local_driver = None
if browser.lower() == "ff" or browser.lower() == 'firefox':
local_driver = self.firefox_local()
elif browser.lower() == "ie":
local_driver = self.explorer_local()
elif browser.lower() == "chrome":
local_driver = self.chrome_local()
elif browser.lower() == "opera":
local_driver = self.opera_local()
elif browser.lower() == "safari":
local_driver = self.safari_local()
elif browser.lower() == "headless-chrome":
local_driver = self.headless_chrome()
return local_driver
def run_mobile(self, mobile_os_name, mobile_os_version, device_name, app_package,
app_activity, remote_flag, device_flag, app_name, app_path,
ud_id, org_id, signing_id, no_reset_flag, appium_version):
"""Specify the mobile device configurations and get the mobile driver."""
#Get the remote credentials from remote_credentials file
username = remote_credentials.USERNAME
password = remote_credentials.ACCESS_KEY
#setup mobile device
desired_capabilities = self.set_mobile_device(mobile_os_name, mobile_os_version, device_name)
#Check wether the OS is android or iOS and get the mobile driver
if mobile_os_name in 'Android':
mobile_driver = self.android(remote_flag, desired_capabilities, app_path, app_name,
appium_version, app_package, app_activity, username,
password, device_flag)
elif mobile_os_name == 'iOS':
mobile_driver = self.ios(remote_flag, desired_capabilities, app_path, app_name,
username, password, app_package, no_reset_flag, ud_id,
org_id, signing_id, appium_version)
return mobile_driver
def android(self, remote_flag, desired_capabilities, app_path, app_name, appium_version,
app_package, app_activity, username, password, device_flag):
"""Gets mobile driver for either local or remote setup of Android devices."""
#Get the driver when test is run on a remote platform
if remote_flag.lower() == 'y':
mobile_driver = self.remote_platform_mobile(remote_flag, app_path, app_name, desired_capabilities,
username, password, appium_version)
#Get the driver when test is run on local setup
else:
try:
desired_capabilities['appPackage'] = app_package
desired_capabilities['appActivity'] = app_activity
if device_flag.lower() == 'y':
mobile_driver = mobile_webdriver.Remote(localhost_url, desired_capabilities)
else:
desired_capabilities['app'] = os.path.join(app_path, app_name)
mobile_driver = mobile_webdriver.Remote(localhost_url, desired_capabilities)
except Exception as exception:
self.print_exception(exception, remote_flag)
return mobile_driver
def ios(self, remote_flag, desired_capabilities, app_path, app_name, username,
password, app_package, no_reset_flag, ud_id, org_id, signing_id,
appium_version):
"""Gets mobile driver for either local or remote setup of Android devices."""
#Get the driver when test is run on a remote platform
if remote_flag.lower() == 'y':
mobile_driver = self.remote_platform_mobile(remote_flag, app_path, app_name,
desired_capabilities, username,
password, appium_version)
#Get the driver when test is run on local setup
else:
try:
desired_capabilities['app'] = os.path.join(app_path, app_name)
desired_capabilities['bundleId'] = app_package
desired_capabilities['noReset'] = no_reset_flag
if ud_id is not None:
desired_capabilities['udid'] = ud_id
desired_capabilities['xcodeOrgId'] = org_id
desired_capabilities['xcodeSigningId'] = signing_id
mobile_driver = mobile_webdriver.Remote(localhost_url, desired_capabilities)
except Exception as exception:
self.print_exception(exception, remote_flag)
return mobile_driver
def remote_platform_mobile(self, remote_flag, app_path, app_name, desired_capabilities,
username, password, appium_version):
"""
Checks wether the test is to be run on either browserstack or saucelab and gets the
remote mobile driver.
"""
desired_capabilities['idleTimeout'] = 300
desired_capabilities['name'] = 'Appium Python Test'
try:
#Gets driver when test is run on Saucelab
if remote_credentials.REMOTE_BROWSER_PLATFORM == 'SL':
mobile_driver = self.saucelab_mobile(app_path, app_name, desired_capabilities,
username, password)
#Gets driver when test is run on Browserstack
else:
mobile_driver = self.browserstack_mobile(app_path, app_name, desired_capabilities,
username, password, appium_version)
except Exception as exception:
self.print_exception(exception, remote_flag)
return mobile_driver
def saucelab_mobile(self, app_path, app_name, desired_capabilities, username, password):
"""Setup mobile driver to run the test in Saucelab."""
self.sauce_upload(app_path, app_name) #Saucelabs expects the app to be uploaded to Sauce storage everytime the test is run
#Checking if the app_name is having spaces and replacing it with blank
if ' ' in app_name:
app_name = app_name.replace(' ', '')
print("The app file name is having spaces, hence replaced the white spaces with blank in the file name:%s"%app_name)
desired_capabilities['app'] = 'sauce-storage:'+app_name
desired_capabilities['autoAcceptAlert'] = 'true'
mobile_driver = mobile_webdriver.Remote(command_executor="http://%s:%s@ondemand.saucelabs.com:80/wd/hub"
%(username, password), desired_capabilities=desired_capabilities)
return mobile_driver
def browserstack_mobile(self, app_path, app_name, desired_capabilities, username, password,
appium_version):
"""Setup mobile driver to run the test in Browserstack."""
desired_capabilities['browserstack.appium_version'] = appium_version
desired_capabilities['realMobile'] = 'true'
desired_capabilities['app'] = self.browser_stack_upload(app_name, app_path) #upload the application to the Browserstack Storage
mobile_driver = mobile_webdriver.Remote(command_executor="http://%s:%s@hub.browserstack.com:80/wd/hub"
%(username, password), desired_capabilities=desired_capabilities)
return mobile_driver
@staticmethod
def print_exception(exception, remote_flag):
"""Print out the exception message and suggest the solution based on the remote flag."""
if remote_flag.lower() == 'y':
solution = "It looks like you are trying to use a cloud service provider(BrowserStack or Sauce Labs) to run your test. \nPlease make sure you have updated ./conf/remote_credentials.py with the right credentials and try again. \nTo use your local browser please run the test with the -M N flag"
else:
solution = "It looks like you are trying to run test cases with Local Appium Setup. \nPlease make sure to run Appium Server and try again."
print('\033[91m'+"\nException when trying to get remote webdriver:%s"%sys.modules[__name__]+'\033[0m')
print('\033[91m'+"\nPython says:%s"%str(exception)+'\033[0m')
print('\033[92m'+"\nSOLUTION: %s\n"%solution+'\033[0m')
def get_firefox_driver(self):
"""Return the Firefox driver."""
driver = webdriver.Firefox(firefox_profile=self.set_firefox_profile())
return driver
def set_firefox_profile(self):
"""Setup firefox with the right preferences and return a profile."""
try:
self.download_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'downloads'))
if not os.path.exists(self.download_dir):
os.makedirs(self.download_dir)
except Exception as exception:
print("Exception when trying to set directory structure")
print(str(exception))
profile = webdriver.firefox.firefox_profile.FirefoxProfile()
set_pref = profile.set_preference
set_pref('browser.download.folderList', 2)
set_pref('browser.download.dir', self.download_dir)
set_pref('browser.download.useDownloadDir', True)
set_pref('browser.helperApps.alwaysAsk.force', False)
set_pref('browser.helperApps.neverAsk.openFile',
'text/csv,application/octet-stream,application/pdf')
set_pref('browser.helperApps.neverAsk.saveToDisk',
'text/csv,application/vnd.ms-excel,application/pdf,application/csv,application/octet-stream')
set_pref('plugin.disable_full_page_plugin_for_types', 'application/pdf')
set_pref('pdfjs.disabled', True)
return profile
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/mail_object.py | import conf.mail_locators_conf as locators
from utils.Wrapit import Wrapit
import time
class Mail_Object:
"Page Object for the newsletter main page"
#get the try_again locator
try_again=locators.try_again
#set the mail locator
setting_mail=locators.setting_mail
#set password locator
password=locators.password
#get nxt button locator
nxt_button=locators.nxt_button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_try_again(self):
"Start the SSO process"
result_flag = self.click_element(self.try_again)
self.conditional_write(result_flag,
positive='Clicked the try again button to start the SSO process',
negative='Could not click the try again button to begin the SSO process',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_email(self,email):
"Set the email on the form"
result_flag = self.set_text(self.setting_mail,email)
self.conditional_write(result_flag,
positive='Set the email to: %s'%email,
negative='Failed to set the email in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_nxt_button(self):
"Click the next button on the SSO screen"
result_flag = self.click_element(self.nxt_button)
self.conditional_write(result_flag,
positive='Clicked the next button on the SSO screen',
negative='Failed to click the next button on the SSO screen',
level='debug')
return result_flag
#set the password
@Wrapit._exceptionHandler
@Wrapit._screenshot
def set_password(self,password):
result_flag = self.set_text(self.password,password)
self.conditional_write(result_flag,
positive='The password was set successfully',
negative='Failed to set the password in the form',
level='debug')
return result_flag
@Wrapit._exceptionHandler
@Wrapit._screenshot
def login(self,email,password):
"Submit the article"
result_flag = self.check_element_present(self.try_again)
if result_flag:
result_flag = self.click_try_again()
result_flag &= self.set_email(email)
result_flag &= self.click_nxt_button()
result_flag &= self.set_password(password)
result_flag &= self.click_nxt_button()
return result_flag
else:
return True
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/PageFactory.py | """
PageFactory uses the factory design pattern.
get_page_object() returns the appropriate page object.
Add elif clauses as and when you implement new pages.
Pages implemented so far:
1. addarticles page
2. editarticles page
3. deletearticles page
"""
from page_objects.zero_page import Zero_Page
from page_objects.Login_page import Login_Page
from page_objects.add_articles_page import Addarticles_Page
from page_objects.manage_articles_page import Managearticles_Page
from page_objects.edit_articles_page import Editarticles_Page
from page_objects.create_newsletter_page import Createnewsletter_Page
from page_objects.preview_newsletter_page import Previewnewsletter_Page
import conf.base_url_conf
class PageFactory():
"PageFactory uses the factory design pattern."
@staticmethod
def get_page_object(page_name,base_url=conf.base_url_conf.base_url):
"Return the appropriate page object based on page_name"
test_obj = None
page_name = page_name.lower()
if page_name in ["zero","zero page","agent zero"]:
test_obj = Zero_Page(base_url=base_url)
elif page_name in ["login","sso"]:
test_obj = Login_Page(base_url=base_url)
elif page_name == "add articles page":
test_obj = Addarticles_Page(base_url=base_url)
elif page_name == "manage articles page":
test_obj = Managearticles_Page(base_url=base_url)
elif page_name == "edit articles page":
test_obj = Editarticles_Page(base_url=base_url)
elif page_name == "create newsletter page":
test_obj = Createnewsletter_Page(base_url=base_url)
elif page_name == "preview newsletter page":
test_obj = Previewnewsletter_Page(base_url=base_url)
#"New pages added needs to be updated in the get_all_page_names method too"
return test_obj
@staticmethod
def get_all_page_names():
"Return the page names"
return ["login",
"add articles page",
"manage articles page",
"edit articles page",
"create newsletter page"]
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/form_object_create_newsletter.py | import conf.create_newsletter_locator_conf as locators
import time
from utils.Wrapit import Wrapit
class Form_Object_Create_Newsletter:
#get the create_newsletter subject locator
CREATE_NEWSLETTER_SUBJECT = locators.SUBJECT
#get the create_newsletter opener locator
CREATE_NEWSLETTER_OPENER = locators.OPENER
#get the create_newsletter preview locator
CREATE_NEWSLETTER_PREVIEW_TEXT = locators.PREVIEW_TEXT
#get the create_newsletter preview newsletter button locator
CREATE_NEWSLETTER_PREVIEW_NEWSLETTER = locators.PREVIEW_NEWSLETTER
#get the select category locator
CREATE_NEWSLETTER_SELECT_CATEGORY = locators.SELECT_CATEGORY
#get the url dropdown locator
CREATE_NEWSLETTER_URL = locators.CATEGORY_URL
#get the add more article button locator
CREATE_NEWSLETTER_ADD_MORE_ARTICLE = locators.ADD_MORE_ARTICLE
#get the clear fields locator
CREATE_NEWSLETTER_CLEAR_FIELDS = locators.CLEAR_FIELDS
#get the url locator
CREATE_NEWSLETTER_SELECT_URL = locators.SELECT_URL
#click the category dropdown
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_category(self,category):
result_click_category = self.click_element(self.CREATE_NEWSLETTER_SELECT_CATEGORY%category)
self.conditional_write(result_click_category,
positive='The category %s is selected'%category,
negative='The category %s is not selected'%category,
level='debug')
return result_click_category
#click the url dropdown
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_url(self):
result_click_url = self.click_element(self.CREATE_NEWSLETTER_URL)
self.conditional_write(result_click_url,
positive='The url is clicked',
negative='The url is not clicked',
level='debug')
return result_click_url
#select the url from the dropdown
@Wrapit._exceptionHandler
@Wrapit._screenshot
def select_url(self,title):
result_select_url = self.click_element(self.CREATE_NEWSLETTER_SELECT_URL%title)
self.conditional_write(result_select_url,
positive='The Title %s is present and clicked'%title,
negative='The Title %s is not present"%title',
level='debug')
return result_select_url
#click add more article button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_add_more_article(self):
result_add_more_article = self.click_element(self.CREATE_NEWSLETTER_ADD_MORE_ARTICLE)
self.conditional_write(result_add_more_article,
positive='The add more article button is clicked',
negative='The add article button is not clicked',
level='debug')
return result_add_more_article
#scroll down to end of create newsletter page
@Wrapit._exceptionHandler
@Wrapit._screenshot
def scroll_down_create_newsletter(self):
self.scroll_down(self.CREATE_NEWSLETTER_CLEAR_FIELDS)
check_clear_fields = self.check_element_displayed(self.CREATE_NEWSLETTER_CLEAR_FIELDS)
self.conditional_write(check_clear_fields,
positive='The page is scrolled down and the clear field button is visible',
negative='The page is not scrolled down',
level='debug')
return check_clear_fields
#set create newsletter subject
@Wrapit._exceptionHandler
@Wrapit._screenshot
def add_create_newsletter_subject(self,subject):
result_add_subject = self.set_text(self.CREATE_NEWSLETTER_SUBJECT,subject)
return result_add_subject
#set create newsletter opener
@Wrapit._exceptionHandler
@Wrapit._screenshot
def add_create_newsletter_opener(self,opener):
result_add_opener = self.set_text(self.CREATE_NEWSLETTER_OPENER,opener)
return result_add_opener
#set create newsletter preview
@Wrapit._exceptionHandler
@Wrapit._screenshot
def add_create_newsletter_preview(self,preview):
result_add_preview = self.set_text(self.CREATE_NEWSLETTER_PREVIEW_TEXT,preview)
return result_add_preview
#click preview newsletter button
@Wrapit._exceptionHandler
@Wrapit._screenshot
def click_preview_newsletter(self):
result_preview_newsletter = self.click_element(self.CREATE_NEWSLETTER_PREVIEW_NEWSLETTER)
self.conditional_write(result_preview_newsletter,
positive='The preview newsletter is clicked',
negative='The preview newsletter is not clicked',
level='debug')
return result_preview_newsletter
#add articles in create newsletter
@Wrapit._exceptionHandler
@Wrapit._screenshot
def add_articles(self,title,category):
"Add articles in Create newsletter"
result_flag = self.click_category(category)
result_flag &= self.click_url()
result_flag &= self.select_url(title)
result_flag &= self.click_add_more_article()
return result_flag
#add newsletter details and click preview newsletter button
def add_newsletter_details(self,subject,opener,preview):
"Add newsletter details and click preview newsletter"
result_flag = self.scroll_down_create_newsletter()
result_flag &= self.add_create_newsletter_subject(subject)
result_flag &= self.add_create_newsletter_opener(opener)
result_flag &= self.add_create_newsletter_preview(preview)
result_flag &= self.click_preview_newsletter()
return result_flag
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/hamburger_object.py | import conf.hamburger_locators as locators
class Hamburger_Object:
#get the hamburger locator
hamburger=locators.hamburger
def click_hamburger_button(self):
hamburger_button=self.hover(self.hamburger)
return hamburger_button
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/search_object.py | from re import search
import conf.manage_articles_locator_conf as locators
from utils.Wrapit import Wrapit
class Search_Object:
#get the manage articles locator
manage_article=locators.manage_article
#get the search locator
search =locators.search
#set search box
@Wrapit._exceptionHandler
@Wrapit._screenshot
def search_word(self,search):
result_flag = self.set_text(self.search,search)
self.conditional_write(result_flag,
positive='successfully Set the search: %s'%search,
negative='Failed to set the search in the application',
level='debug') | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/preview_newsletter_page.py | """
This class models the newsletter preview newsletter page.
"""
from .Base_Page import Base_Page
from .mail_object import Mail_Object
from .form_object import Form_Object
from .hamburger_object import Hamburger_Object
import conf.preview_newsletter_conf as locators
class Previewnewsletter_Page(Base_Page, Mail_Object, Hamburger_Object, Form_Object):
"Page Object for the newsletter preview page"
#get the create campaign locator
CREATE_NEWSLETTER_CREATE_CAMPAIGN = locators.CREATE_CAMPAIGN
#click create campaign button
def create_campaign(self):
self.scroll_down(self.CREATE_NEWSLETTER_CREATE_CAMPAIGN)
result_create_campaign = self.click_element(self.CREATE_NEWSLETTER_CREATE_CAMPAIGN)
self.conditional_write(result_create_campaign,
positive='The create campaign is clicked',
negative='The create campaign is not clicked',
level='debug')
return result_create_campaign
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/page_objects | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/drivers/remote_options.py | """
Set the desired option for running the test on a remote platform.
"""
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from conf import remote_credentials
import os
import requests
import json
from datetime import datetime
class RemoteOptions():
"""Class contains methods for various remote options for browserstack and saucelab."""
@staticmethod
def firefox(browser_version):
"""Set web browser as firefox."""
desired_capabilities = DesiredCapabilities.FIREFOX
desired_capabilities['browser_version'] = browser_version
return desired_capabilities
@staticmethod
def explorer(browser_version):
"""Set web browser as Explorer."""
desired_capabilities = DesiredCapabilities.INTERNETEXPLORER
desired_capabilities['browser_version'] = browser_version
return desired_capabilities
@staticmethod
def chrome(browser_version):
"""Set web browser as Chrome."""
desired_capabilities = DesiredCapabilities.CHROME
desired_capabilities['browser_version'] = browser_version
return desired_capabilities
@staticmethod
def opera(browser_version):
"""Set web_browser as Opera."""
desired_capabilities = DesiredCapabilities.OPERA
desired_capabilities['browser_version'] = browser_version
return desired_capabilities
@staticmethod
def safari(browser_version):
"""Set web browser as Safari."""
desired_capabilities = DesiredCapabilities.SAFARI
desired_capabilities['browser_version'] = browser_version
return desired_capabilities
@staticmethod
def set_os(desired_capabilities, os_name, os_version):
"""Set os name and os_version."""
desired_capabilities['os'] = os_name
desired_capabilities['os_version'] = os_version
return desired_capabilities
@staticmethod
def remote_project_name(desired_capabilities, remote_project_name):
"""Set remote project name for browserstack."""
desired_capabilities['project'] = remote_project_name
return desired_capabilities
@staticmethod
def remote_build_name(desired_capabilities, remote_build_name):
"""Set remote build name for browserstack."""
desired_capabilities['build'] = remote_build_name+"_"+str(datetime.now().strftime("%c"))
return desired_capabilities
@staticmethod
def saucelab_platform(desired_capabilities, os_name, os_version):
"""Set platform for saucelab."""
desired_capabilities['platform'] = os_name + ' '+os_version
return desired_capabilities
@staticmethod
def set_mobile_device(mobile_os_name, mobile_os_version, device_name):
"""Setup the mobile device."""
desired_capabilities = {}
desired_capabilities['platformName'] = mobile_os_name
desired_capabilities['platformVersion'] = mobile_os_version
desired_capabilities['deviceName'] = device_name
return desired_capabilities
@staticmethod
def sauce_upload(app_path, app_name):
"""Upload the apk to the sauce temperory storage."""
username = remote_credentials.USERNAME
password = remote_credentials.ACCESS_KEY
result_flag = False
try:
headers = {'Content-Type':'application/octet-stream'}
params = os.path.join(app_path, app_name)
fp = open(params, 'rb')
data = fp.read()
fp.close()
#Checking if the app_name is having spaces and replacing it with blank
if ' ' in app_name:
app_name = app_name.replace(' ', '')
print("The app file name is having spaces, hence replaced the white spaces with blank in the file name:%s"%app_name)
response = requests.post('https://saucelabs.com/rest/v1/storage/%s/%s?overwrite=true'
%(username, app_name), headers=headers, data=data, auth=(username, password)
)
if response.status_code == 200:
result_flag = True
print("App successfully uploaded to sauce storage")
except Exception as exception:
print(str(exception))
return result_flag
@staticmethod
def browser_stack_upload(app_name, app_path):
"""Upload the apk to the BrowserStack storage if its not done earlier."""
username = remote_credentials.USERNAME
access_key = remote_credentials.ACCESS_KEY
try:
#Upload the apk
apk_file = os.path.join(app_path, app_name)
files = {'file': open(apk_file, 'rb')}
post_response = requests.post("https://api.browserstack.com/app-automate/upload",
files=files, auth=(username, access_key))
post_json_data = json.loads(post_response.text)
#Get the app url of the newly uploaded apk
app_url = post_json_data['app_url']
except Exception as exception:
print(str(exception))
return app_url
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration/page_objects | qxf2_public_repos/newsletter_automation/tests/integration/page_objects/drivers/local_browsers.py | """
Get the webrivers for local browsers.
"""
from conf import opera_browser_conf
from selenium.webdriver.chrome.options import Options
import sys
from selenium import webdriver
class LocalBrowsers():
"""Class contains methods for getting webfrivers for various browsers."""
@staticmethod
def firefox_local():
"""Get webdriver for firefox."""
local_driver = webdriver.Firefox()
return local_driver
@staticmethod
def explorer_local():
"""Get webdriver for internet explorer."""
local_driver = webdriver.Ie()
return local_driver
@staticmethod
def chrome_local():
"""Get webdriver for chrome."""
local_driver = webdriver.Chrome()
return local_driver
@staticmethod
def opera_local():
"""Get webdriver for opera."""
try:
opera_browser_location = opera_browser_conf.location
options = webdriver.ChromeOptions()
options.binary_location = opera_browser_location # path to opera executable
local_driver = webdriver.Opera(options=options)
except Exception as exception:
print("\nException when trying to get remote webdriver:%s"%sys.modules[__name__])
print("Python says:%s"%str(exception))
if 'no Opera binary' in str(exception):
print("SOLUTION: It looks like you are trying to use Opera Browser. Please update Opera Browser location under conf/opera_browser_conf.\n")
return local_driver
@staticmethod
def safari_local():
"""Get webdriver for safari."""
local_driver = webdriver.Safari()
return local_driver
@staticmethod
def headless_chrome():
"""Set up headless chrome driver options and get webdriver for headless chrome."""
options = Options()
options.headless = True
options.add_argument("--window-size=1920,1080")
options.add_argument("--disable-extensions")
options.add_argument("--proxy-server='direct://'")
options.add_argument("--proxy-bypass-list=*")
options.add_argument("--start-maximized")
options.add_argument('--headless')
options.add_argument('--disable-gpu')
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--no-sandbox')
options.add_argument('--ignore-certificate-errors')
local_driver = webdriver.Chrome(options=options)
return local_driver
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/edit_articles_conf.py | import os
email = os.environ.get('mail_id')
password = os.environ.get('password')
url="https://www.qxf2.com/currentweek/"
title="python selenium selenium"
description="python-selenium-change-url"
runtime="15"
category="currentweek"
search="qxf2" | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/create_newsletter_locator_conf.py | #locators for Create Newsletter Page
SELECT_CATEGORY = "xpath,//*[@id='category_id']/descendant::option[text()='%s']"
CATEGORY_URL = "xpath,//span[@role='combobox']"
ADD_MORE_ARTICLE = "xpath,//input[@id='add_more']"
CLEAR_FIELDS = "xpath,//input[@id='cancel']"
ADDED_ARTICLE = "xpath,//td[normalize-space()='%s']"
SELECT_URL = "xpath,//li[contains(text(),'%s')]"
SUBJECT = "xpath,//input[@id='subject']"
OPENER = "xpath,//textarea[@id='opener']"
PREVIEW_TEXT = "xpath,//textarea[@id='preview_text']"
PREVIEW_NEWSLETTER = "xpath,//input[@id='preview_newsletter']"
PREVIEW_CONTENT = "xpath,//div//td[contains(text(),'%s')]"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/report_portal_conf.py | """
To run the test in reportportal we need UUID and Endpoint.
We are stroing these two values here
"""
#report_portal_uuid = "Enter your UUID here"
report_portal_api_key = "Enter your report portal api key here"
report_portal_endpoint = "Enter your endpoint here"
report_portal_project = "Enter your Project here"
report_portal_launch = "Enter your project launch here" | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/tesults_conf.py | """
Conf file to hold Tesults target tokens:
Create projects and targets from the Tesults configuration menu: https://www.tesults.com
You can regenerate target tokens from there too. Tesults upload will fail unless the token is valid.
utils/Tesults.py will use the target_token_default unless otherwise specified
Find out more about targets here: https://www.tesults.com/docs?doc=target
"""
target_token_default = "" | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/email_conf.py | #Details needed for the Gmail
#Fill out the email details over here
imaphost="imap.gmail.com" #Add imap hostname of your email client
username="Add your email address or username here"
#Login has to use the app password because of Gmail security configuration
# 1. Setup 2 factor authentication
# 2. Follow the 2 factor authentication setup wizard to enable an app password
#Src: https://support.google.com/accounts/answer/185839?hl=en
#Src: https://support.google.com/mail/answer/185833?hl=en
app_password="Add app password here"
#Details for sending pytest report
smtp_ssl_host = 'smtp.gmail.com' # Add smtp ssl host of your email client
smtp_ssl_port = 465 # Add smtp ssl port number of your email client
sender = 'abc@xyz.com' #Add senders email address here
targets = ['asd@xyz.com','qwe@xyz.com'] # Add recipients email address in a list
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/create_newsletter_conf.py | import os
import time
import random
email = os.environ.get('mail_id')
password = os.environ.get('password')
current_timestamp =str(int(time.time()))
subject = "99-Dec-1900"
opener = "From the simplest to the most complex application, automation is present in many forms in our everyday life. Common examples include household thermostats controlling boilers, the earliest automatic telephone switchboards, electronic navigation systems, or the most advanced algorithms behind self-driving cars."
preview = "From the simplest to the most complex application, automation is present in many forms in our everyday life. Common examples include household"
categories = ['pastweek','currentweek','automation corner','comic']
article_list_create_newsletter = []
for category in categories:
article_list_create_newsletter.append({'url':f'https://www.qxf2.com/{category}/', 'title':f'A {category} article', 'description':f'{category} advanced-python/python-mutable-and-immutable', 'runtime':'10', 'category':category})
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/manage_articles_conf.py | import os
email = os.environ.get('mail_id')
password = os.environ.get('password')
url="https://www.qxf2.com/currentweek/"
title="python selenium selenium"
description="python-selenium-change-url"
runtime="15"
category="currentweek"
search="qxf2" | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/add_articles_conf.py | import time
import os
import random
email = os.environ.get('mail_id')
password = os.environ.get('password')
current_timestamp =str(int(time.time()))
categories = ['pastweek','currentweek','automation corner','comic']
article_list = []
for category in categories:
article_list.append({'URL':f'https://www.qxf2.com/{category}/', 'TITLE':f'A {category} article', 'DESCRIPTION':f'{category} advanced-python/python-mutable-and-immutable', 'RUNTIME':'10', 'CATEGORY':category})
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/api_tests_conf.py | import time
import os
# Setting current timestamp
current_timestamp =str(int(time.time()))
# Article details
article_url = 'https://www.qxf2.com/'
article_title = 'Automation Test Title'
article_description = 'Automation Test Description'
article_id = '1'
reading_time = '3'
article_editors = ['Arun','Raji','Avinash','Rahul','Akkul']
# article details
article_details = {'url':'https://www.qxf2.com/'+current_timestamp,'title':'Software Automation Testing','description':'Automation Testing','time':'15','category_id':'3','article_editor':'Raji'}
# authentication details
headers = {'x-api-key':os.environ.get('API_KEY','')}
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/snapshot_dir_conf.py | """
Conf file for snapshot directory
"""
import os
snapshot_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'tests', 'accessibility_tests', 'snapshots', 'test_accessibility',
'test_accessibility', 'headless-chrome')
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/mail_conf.py | """
Conf file for test_example_form
"""
email = "Enter the usename"
password = "Enter the password"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/add_articles_locators_conf.py | # get the search locator
home="xpath,//a[text()='Home']"
# get the add articles locator
add_articles="xpath,//a[normalize-space()='Add Article']"
# get the url locator
url="xpath,//input[@id='url']"
# get the title locator
title="xpath,//input[@name='title']"
# get the description locator
description="xpath,//textarea[@name='description']"
# get the time locator
time="xpath,//input[@name='time']"
# get the category locator
category="xpath,//select[@name='category_id']"
# get the add_article locator
submit="xpath,//input[@id='submit']"
# get the add another articles locator
add_another_articles="xpath,//a[normalize-space()='Add another article']"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/ports_conf.py | """
Specify the port in which you want to run your local mobile tests
"""
port = 4723 | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/screenshot_conf.py | BS_ENABLE_SCREENSHOTS = False | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/opera_browser_conf.py | """
conf file for updating Opera Browser Location
"""
location = "Enter the Opera Browser Location"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/hamburger_locators.py | # click the hamburger menu
hamburger="xpath,//*[local-name()='svg' and @data-icon='bars']/*[local-name()='path']"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/testrailenv_conf.py | """
Conf file to hold the TestRail url and credentials
"""
testrail_url = "Add your testrail url"
testrail_user = "Add your testrail username"
testrail_password = "Add your testrail password"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/mail_locators_conf.py | #get the try_again locator
try_again="xpath,//a[text()='Try again']"
#set the mail locator
setting_mail="xpath,//input[@id='identifierId']"
#set password locator
password="xpath,//input[@name='password']"
#get nxt button locator
nxt_button="xpath,//span[text()='Next']"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/preview_newsletter_conf.py | #get the create campaign locator
CREATE_CAMPAIGN = "xpath,//button[@id='campaign']" | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/os_details.config | # Set up an OS details and browsers we test on.
[Windows_7_Firefox]
os = Windows
os_version = 7
browser = Firefox
browser_version = 41.0
[Windows_7_IE]
os = Windows
os_version = 7
browser = IE
browser_version = 11.0
[Windows_7_Chrome]
os = Windows
os_version = 7
browser = Chrome
browser_version = 43.0
[Windows_7_Opera]
os = Windows
os_version = 7
browser = Opera
browser_version = 12.16
[OSX_Yosemite_Firefox]
os = OS X
os_version = Yosemite
browser = Firefox
browser_version = 38.0
[OSX_Yosemite_Safari]
os = OS X
os_version = Yosemite
browser = Safari
browser_version = 8.0 | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/base_url_conf.py | """
Conf file for base_url
"""
base_url = "https://staging-newsletter-generator.qxf2.com/"
#base_url = "http://localhost:5000"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/browser_os_name_conf.py | """
Conf file to generate the cross browser cross platform test run configuration
"""
from . import remote_credentials as conf
#Conf list for local
default_browser = ["chrome"] #default browser for the tests to run against when -B option is not used
local_browsers = ["firefox","chrome"] #local browser list against which tests would run if no -M Y and -B all is used
#Conf list for Browserstack/Sauce Labs
#change this depending on your client
browsers = ["firefox","chrome","safari"] #browsers to generate test run configuration to run on Browserstack/Sauce Labs
firefox_versions = ["104","105"] #firefox versions for the tests to run against on Browserstack/Sauce Labs
chrome_versions = ["104","105"] #chrome versions for the tests to run against on Browserstack/Sauce Labs
safari_versions = ["15.3"] #safari versions for the tests to run against on Browserstack/Sauce Labs
os_list = ["windows","OS X"] #list of os for the tests to run against on Browserstack/Sauce Labs
windows_versions = ["10","11"] #list of windows versions for the tests to run against on Browserstack/Sauce Labs
os_x_versions = ["Monterey"] #list of os x versions for the tests to run against on Browserstack/Sauce Labs
sauce_labs_os_x_versions = ["10.10"] #Set if running on sauce_labs instead of "yosemite"
default_config_list = [("chrome","105","windows","11")] #default configuration against which the test would run if no -B all option is used
def generate_configuration(browsers=browsers,firefox_versions=firefox_versions,chrome_versions=chrome_versions,safari_versions=safari_versions,
os_list=os_list,windows_versions=windows_versions,os_x_versions=os_x_versions):
"Generate test configuration"
if conf.REMOTE_BROWSER_PLATFORM == 'SL':
os_x_versions = sauce_labs_os_x_versions
test_config = []
for browser in browsers:
if browser == "firefox":
for firefox_version in firefox_versions:
for os_name in os_list:
if os_name == "windows":
for windows_version in windows_versions:
config = [browser,firefox_version,os_name,windows_version]
test_config.append(tuple(config))
if os_name == "OS X":
for os_x_version in os_x_versions:
config = [browser,firefox_version,os_name,os_x_version]
test_config.append(tuple(config))
if browser == "chrome":
for chrome_version in chrome_versions:
for os_name in os_list:
if os_name == "windows":
for windows_version in windows_versions:
config = [browser,chrome_version,os_name,windows_version]
test_config.append(tuple(config))
if os_name == "OS X":
for os_x_version in os_x_versions:
config = [browser,chrome_version,os_name,os_x_version]
test_config.append(tuple(config))
if browser == "safari":
for safari_version in safari_versions:
for os_name in os_list:
if os_name == "OS X":
for os_x_version in os_x_versions:
config = [browser,safari_version,os_name,os_x_version]
test_config.append(tuple(config))
return test_config
#variable to hold the configuration that can be imported in the conftest.py file
cross_browser_cross_platform_config = generate_configuration()
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/manage_articles_locator_conf.py | #get the manage articles locator
manage_article="xpath,//a[normalize-space()='Manage Articles']"
#get the search locator
search="xpath,//input[@type='search']"
#get the edit locator
edit="xpath,//a[text()='Edit']"
#get the edit_url locator
edit_url="xpath,//input[@id='url']"
#get the edit_title locator
edit_title="xpath,//input[@id='title']"
#get the edit_description locator
edit_description="xpath,//textarea[@id='description']"
#get the edit_time locator
edit_time="xpath,//input[@id='time']"
#get the edit_category locator
edit_category="xpath,//select[@id='category_id']"
#get the edit_save locator
edit_save="xpath,//input[@id='submit']"
#get the edit_cancel locator
edit_cancel="xpath,//a[text()='Cancel']"
#get the delete locator
delete="xpath,//a[text()='Delete']"
| 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/skype_conf.py | import os
SKYPE_URL = os.environ['SKYPE_URL']
SKYPE_CHANNEL = os.environ['SKYPE_CHANNEL']
SKYPE_API_KEY = os.environ['SKYPE_API_KEY'] | 0 |
qxf2_public_repos/newsletter_automation/tests/integration | qxf2_public_repos/newsletter_automation/tests/integration/conf/remote_credentials.py | #Set REMOTE_BROWSER_PLATFROM TO BS TO RUN ON BROWSERSTACK else
#SET REMOTE_BROWSER_PLATFORM TO SL TO RUN ON SAUCE LABS
REMOTE_BROWSER_PLATFORM = "BS"
USERNAME = "Enter your username"
ACCESS_KEY = "Enter your access key"
| 0 |
qxf2_public_repos/newsletter_automation/tests/contract_tests | qxf2_public_repos/newsletter_automation/tests/contract_tests/provider_contract/newsletter_api_spec.json | {
"components": {
"schemas": {
"HTTPError": {
"properties": {
"detail": {
"type": "object"
},
"message": {
"type": "string"
}
},
"type": "object"
}
}
},
"info": {
"title": "APIFlask",
"version": "0.1.0"
},
"openapi": "3.0.3",
"paths": {
"/": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Index"
}
},
"/api/article/{article_id}": {
"delete": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "Deletes an article"
}
},
"/api/articles": {
"post": {
"parameters": [],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"additionalProperties": false,
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 15,
"pattern": "\\Awww[.]contract-test-[0-9][.]com\\Z"
},
"category_id": {
"type": "integer",
"minimum":1,
"maximum":5
},
"article_editor":{
"type": "string",
"minLength": 5,
"pattern":"\\APact-tester\\Z"
}
},
"required": [
"article_editor",
"category_id",
"url"
]
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
]
}
}
},
"description": "Successful response"
}
},
"summary": "To add articles through api endpoints"
}
},
"/api/articles/all": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Return all the articles in the database"
}
},
"/articles": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "To add articles through pages"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "To add articles through pages"
}
},
"/callback": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Redirect after Google login & consent"
}
},
"/create-newsletter": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "This page contains the form where user can add articles"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "This page contains the form where user can add articles"
}
},
"/create_campaign": {
"get": {
"description": "update campaign table with this id\ncreate the newsletter_json needed for mailchimp api\ncall mailchimp content setting api",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "create the campaign and return the campaign id"
},
"post": {
"description": "update campaign table with this id\ncreate the newsletter_json needed for mailchimp api\ncall mailchimp content setting api",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "create the campaign and return the campaign id"
}
},
"/delete/{article_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "Deletes an article"
},
"post": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "Deletes an article"
}
},
"/description/{article_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "This method fetches the article description based on article selected"
}
},
"/edit/{article_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "This method is used to edit articles based on article_id"
},
"post": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "This method is used to edit articles based on article_id"
}
},
"/home": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Index"
}
},
"/login": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Login redirect"
}
},
"/logout": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Logout"
}
},
"/manage-articles": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "This method filers out unpublished articles"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "This method filers out unpublished articles"
}
},
"/old-articles": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "This method filers out published articles"
}
},
"/preview_newsletter/{newsletter_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "newsletter_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "To populate the preview newsletter page"
},
"post": {
"parameters": [
{
"in": "path",
"name": "newsletter_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "To populate the preview newsletter page"
}
},
"/readingtime/{article_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "This method fetched reading time based on article selected"
}
},
"/removearticle": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Remove article from the list"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Remove article from the list"
}
},
"/schedule": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Schedule the newsletter"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Schedule the newsletter"
}
},
"/sendtestemail": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Scheduling test email"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "Scheduling test email"
}
},
"/show-campaign": {
"get": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "To show campaign details in table"
},
"post": {
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
}
},
"summary": "To show campaign details in table"
}
},
"/title/{article_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "This article fetched reading time based on url selected"
}
},
"/url/{category_id}": {
"get": {
"parameters": [
{
"in": "path",
"name": "category_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPError"
}
}
},
"description": "Not found"
}
},
"summary": "This method fetches url and article_id based on category selected"
}
}
},
"servers": [
{
"url": "http://localhost:5000/"
}
],
"tags": []
} | 0 |
qxf2_public_repos/newsletter_automation/tests/contract_tests | qxf2_public_repos/newsletter_automation/tests/contract_tests/provider_contract/output.xml | <?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="2" time="2.316" timestamp="2023-04-20T16:55:13.306431" hostname="LAPTOP-S3UEHH59"><properties><property name="hypothesis-statistics-newsletter_schema_test.py::test_api[POST /api/articles]" value="bmV3c2xldHRlcl9zY2hlbWFfdGVzdC5weTo6dGVzdF9hcGlbUE9TVCAvYXBpL2FydGljbGVzXToKCiAgLSBkdXJpbmcgcmV1c2UgcGhhc2UgKDAuMDQgc2Vjb25kcyk6CiAgICAtIFR5cGljYWwgcnVudGltZXM6IH4gNDJtcywgb2Ygd2hpY2ggfiAxMW1zIGluIGRhdGEgZ2VuZXJhdGlvbgogICAgLSAxIHBhc3NpbmcgZXhhbXBsZXMsIDAgZmFpbGluZyBleGFtcGxlcywgMCBpbnZhbGlkIGV4YW1wbGVzCgogIC0gZHVyaW5nIGdlbmVyYXRlIHBoYXNlICgyLjExIHNlY29uZHMpOgogICAgLSBUeXBpY2FsIHJ1bnRpbWVzOiB+IDE3LTI5IG1zLCBvZiB3aGljaCB+IDUtNiBtcyBpbiBkYXRhIGdlbmVyYXRpb24KICAgIC0gODIgcGFzc2luZyBleGFtcGxlcywgMCBmYWlsaW5nIGV4YW1wbGVzLCAwIGludmFsaWQgZXhhbXBsZXMKCiAgLSBTdG9wcGVkIGJlY2F1c2Ugbm90aGluZyBsZWZ0IHRvIGRv" /><property name="hypothesis-statistics-newsletter_schema_test.py::test_api[GET /api/articles/all]" value="bmV3c2xldHRlcl9zY2hlbWFfdGVzdC5weTo6dGVzdF9hcGlbR0VUIC9hcGkvYXJ0aWNsZXMvYWxsXToKCiAgLSBkdXJpbmcgcmV1c2UgcGhhc2UgKDAuMDMgc2Vjb25kcyk6CiAgICAtIFR5cGljYWwgcnVudGltZXM6IH4gMzFtcywgb2Ygd2hpY2ggfiAxbXMgaW4gZGF0YSBnZW5lcmF0aW9uCiAgICAtIDEgcGFzc2luZyBleGFtcGxlcywgMCBmYWlsaW5nIGV4YW1wbGVzLCAwIGludmFsaWQgZXhhbXBsZXMKCiAgLSBTdG9wcGVkIGJlY2F1c2Ugbm90aGluZyBsZWZ0IHRvIGRv" /></properties><testcase classname="newsletter_schema_test" name="test_api[POST /api/articles]" time="2.154" /><testcase classname="newsletter_schema_test" name="test_api[GET /api/articles/all]" time="0.035" /></testsuite></testsuites> | 0 |
qxf2_public_repos/newsletter_automation/tests/contract_tests | qxf2_public_repos/newsletter_automation/tests/contract_tests/provider_contract/test_provider_contract.py | """
This module contains a test for the Newsletter Automation API.
The test validates the API's endpoint for retrieving articles ie. '/api/articles',
against the OpenAPI documentation.
It uses schemathesis and hypothesis libraries for test case generation and validation.
"""
import os
import schemathesis
from hypothesis import settings
schema = schemathesis.from_path("newsletter_api_spec.json", base_url="https://staging-newsletter-generator.qxf2.com")
@settings(max_examples=20)
@schema.parametrize(endpoint="/api/articles\\Z")
def test_newsletter_api(case):
"""
Test the Newsletter API for retrieving articles.
Args:
case: Test case generated by schemathesis.
"""
case.call_and_validate(headers={"x-api-key": os.environ.get("API_KEY")})
| 0 |
qxf2_public_repos/newsletter_automation/tests/contract_tests | qxf2_public_repos/newsletter_automation/tests/contract_tests/consumer_contract/consumer_contract_generator.py | """
The following code is used to generate pact consumer contract for newsletter application
"""
import atexit
import unittest
import requests
from pact import Consumer, Provider
import os
import json
#Set the Consumer and Provider. Newsletter Lambda is our Consumer and Newsletter API is our Provider
pact = Consumer('NewsletterLambda').has_pact_with(Provider('NewsletterAPI'), pact_dir='./pacts')
pact.start_service()
atexit.register(pact.stop_service)
class NewsletterApiTest(unittest.TestCase):
def _request_helper(self, path, data):
return requests.post(pact.uri + path, data = json.loads(json.dumps(data)))
def test_post_new_articles(self):
"Generate contract condition for additon of new articles through the Newsletter API"
path = '/api/articles'
data = "url=www.new-article.com&category_id=5&article_editor=Pact_tester"
expected_body = {'message': 'Record added successfully'}
expected_status = 200
(pact
.given('post new article to database')
.upon_receiving('a request to post new article')
.with_request(method='post',path=path,body=data)
.will_respond_with(expected_status, body=expected_body))
with pact:
resp = self._request_helper(path,data)
self.assertEqual(resp.status_code, expected_status)
self.assertEqual(resp.json(), expected_body)
def test_post_existing_articles(self):
"Generate contract condition for additon of existing articles through the Newsletter API"
path = '/api/articles'
data = "url=www.existing-article.com&category_id=5&article_editor=Pact_tester"
expected_body = {'message': 'URL already exists in database'}
expected_status = 200
(pact
.given('post existing article to database')
.upon_receiving('a request to post an existing article')
.with_request(method='post',path=path,body=data)
.will_respond_with(expected_status, body=expected_body))
with pact:
resp = self._request_helper(path,data)
self.assertEqual(resp.status_code, expected_status)
self.assertEqual(resp.json(), expected_body)
| 0 |
qxf2_public_repos/newsletter_automation/tests/contract_tests/consumer_contract | qxf2_public_repos/newsletter_automation/tests/contract_tests/consumer_contract/pacts/newsletterlambda-newsletterapi.json | {
"consumer": {
"name": "NewsletterLambda"
},
"provider": {
"name": "NewsletterAPI"
},
"interactions": [
{
"description": "a request to post an existing article",
"providerState": "post existing article to database",
"request": {
"method": "post",
"path": "/api/articles",
"body": "url=www.existing-article.com&category_id=5&article_editor=Pact_tester"
},
"response": {
"status": 200,
"headers": {
},
"body": {
"message": "URL already exists in database"
}
}
},
{
"description": "a request to post new article",
"providerState": "post new article to database",
"request": {
"method": "post",
"path": "/api/articles",
"body": "url=www.new-article.com&category_id=5&article_editor=Pact_tester"
},
"response": {
"status": 200,
"headers": {
},
"body": {
"message": "Record added successfully"
}
}
}
],
"metadata": {
"pactSpecification": {
"version": "2.0.0"
}
}
} | 0 |
qxf2_public_repos/newsletter_automation/tests/data_validation | qxf2_public_repos/newsletter_automation/tests/data_validation/great_expectations/great_expectations.yml | # Welcome to Great Expectations! Always know what to expect from your data.
#
# Here you can define datasources, batch kwargs generators, integrations and
# more. This file is intended to be committed to your repo. For help with
# configuration please:
# - Read our docs: https://docs.greatexpectations.io/docs/guides/connecting_to_your_data/connect_to_data_overview/#2-configure-your-datasource
# - Join our slack channel: http://greatexpectations.io/slack
# config_version refers to the syntactic version of this config file, and is used in maintaining backwards compatibility
# It is auto-generated and usually does not need to be changed.
config_version: 3.0
# Datasources tell Great Expectations where your data lives and how to get it.
# You can use the CLI command `great_expectations datasource new` to help you
# add a new datasource. Read more at https://docs.greatexpectations.io/docs/guides/connecting_to_your_data/connect_to_data_overview
datasources:
newsletter_automation_datasource:
data_connectors:
default_runtime_data_connector_name:
name: default_runtime_data_connector_name
module_name: great_expectations.datasource.data_connector
class_name: RuntimeDataConnector
batch_identifiers:
- default_identifier_name
default_inferred_data_connector_name:
name: default_inferred_data_connector_name
include_schema_name: true
module_name: great_expectations.datasource.data_connector
class_name: InferredAssetSqlDataConnector
name: newsletter_automation_datasource
module_name: great_expectations.datasource
class_name: Datasource
execution_engine:
class_name: SqlAlchemyExecutionEngine
credentials:
host: ${DB_HOST}
port: ${DB_PORT}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
database: ${DB_NAME}
drivername: mysql+pymysql
module_name: great_expectations.execution_engine
newsletter_automation_datasource_new:
data_connectors:
default_runtime_data_connector_name:
module_name: great_expectations.datasource.data_connector
class_name: RuntimeDataConnector
batch_identifiers:
- default_identifier_name
default_inferred_data_connector_name:
include_schema_name: true
module_name: great_expectations.datasource.data_connector
class_name: InferredAssetSqlDataConnector
module_name: great_expectations.datasource
class_name: Datasource
execution_engine:
class_name: SqlAlchemyExecutionEngine
credentials:
host: ${DB_HOST}
port: ${DB_PORT}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
database: ${DB_NAME}
drivername: mysql+pymysql
module_name: great_expectations.execution_engine
config_variables_file_path: uncommitted/config_variables.yml
# The plugins_directory will be added to your python path for custom modules
# used to override and extend Great Expectations.
plugins_directory: plugins/
stores:
# Stores are configurable places to store things like Expectations, Validations
# Data Docs, and more. These are for advanced users only - most users can simply
# leave this section alone.
#
# Three stores are required: expectations, validations, and
# evaluation_parameters, and must exist with a valid store entry. Additional
# stores can be configured for uses such as data_docs, etc.
expectations_store:
class_name: ExpectationsStore
store_backend:
class_name: TupleFilesystemStoreBackend
base_directory: expectations/
validations_store:
class_name: ValidationsStore
store_backend:
class_name: TupleFilesystemStoreBackend
base_directory: uncommitted/validations/
evaluation_parameter_store:
class_name: EvaluationParameterStore
checkpoint_store:
class_name: CheckpointStore
store_backend:
class_name: TupleFilesystemStoreBackend
suppress_store_backend_id: true
base_directory: checkpoints/
profiler_store:
class_name: ProfilerStore
store_backend:
class_name: TupleFilesystemStoreBackend
suppress_store_backend_id: true
base_directory: profilers/
expectations_store_name: expectations_store
validations_store_name: validations_store
evaluation_parameter_store_name: evaluation_parameter_store
checkpoint_store_name: checkpoint_store
data_docs_sites:
# Data Docs make it simple to visualize data quality in your project. These
# include Expectations, Validations & Profiles. The are built for all
# Datasources from JSON artifacts in the local repo including validations &
# profiles from the uncommitted directory. Read more at https://docs.greatexpectations.io/docs/terms/data_docs
local_site:
class_name: SiteBuilder
show_how_to_buttons: true
store_backend:
class_name: TupleFilesystemStoreBackend
base_directory: uncommitted/data_docs/local_site/
site_index_builder:
class_name: DefaultSiteIndexBuilder
anonymous_usage_statistics:
enabled: false
data_context_id: 4236ae2e-0b47-4b23-8b7e-5c38fd283e7a
notebooks:
include_rendered_content:
expectation_validation_result: false
globally: false
expectation_suite: false
| 0 |
qxf2_public_repos/newsletter_automation/tests/data_validation/great_expectations/plugins/custom_data_docs | qxf2_public_repos/newsletter_automation/tests/data_validation/great_expectations/plugins/custom_data_docs/styles/data_docs_custom_styles.css | /*index page*/
.ge-index-page-site-name-title {}
.ge-index-page-table-container {}
.ge-index-page-table {}
.ge-index-page-table-profiling-links-header {}
.ge-index-page-table-expectations-links-header {}
.ge-index-page-table-validations-links-header {}
.ge-index-page-table-profiling-links-list {}
.ge-index-page-table-profiling-links-item {}
.ge-index-page-table-expectation-suite-link {}
.ge-index-page-table-validation-links-list {}
.ge-index-page-table-validation-links-item {}
/*breadcrumbs*/
.ge-breadcrumbs {}
.ge-breadcrumbs-item {}
/*navigation sidebar*/
.ge-navigation-sidebar-container {}
.ge-navigation-sidebar-content {}
.ge-navigation-sidebar-title {}
.ge-navigation-sidebar-link {}
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.