Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ br --profile headlesschromedriver --suite classic --tags '@accessibility'
- Command: vendor/bin/behat --config /Users/stronk7/Sites/moodle_data_git/master/postgres_behat/behatrun/behat/behat.yml --profile headlesschromedriver --suite classic --tags @accessibility
- Moodle 4.0dev (Build: 20210204), 4e398ff3f718fe85912ea1db7407d09ecaea158a
- Php: 7.4.14, pgsql: 9.6.20, OS: Darwin 20.3.0 x86_64
- Run optional tests:
- - Accessibility: Yes
- Server OS "Darwin", Browser: "chrome"
- Started at 10-02-2021, 16:24
- .....F............F--...............F---------------.F------...F
- --- Pasos fallidos:
- 001 Scenario: The dashboard page must have sufficient colour contrast # /Users/stronk7/git_moodle/moodle/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature:317
- Then the page should meet "wcag143" accessibility standards # /Users/stronk7/git_moodle/moodle/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature:319
- Accessibility violations found:
- 11 violations of 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds' (severity: serious)
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 11.3pt (15px), font weight: normal). Expected contrast ratio of 4.5:1:
- .mt-3.text-muted
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 11.3pt (15px), font weight: normal). Expected contrast ratio of 4.5:1:
- #groupingdropdown > .d-sm-inline-block[data-active-item-text=""]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 11.3pt (15px), font weight: normal). Expected contrast ratio of 4.5:1:
- #sortingdropdown > .d-sm-inline-block[data-active-item-text=""]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 11.3pt (15px), font weight: normal). Expected contrast ratio of 4.5:1:
- #displaydropdown > .d-sm-inline-block[data-active-item-text=""]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 11.3pt (15px), font weight: normal). Expected contrast ratio of 4.5:1:
- .text-xs-center.mt-3[data-region="empty-message"] > .text-muted.mt-1
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 613145600"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 613232000"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 613750400"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 613836800"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 614355200"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 614441600"] > span[aria-hidden="true"]
- (Behat\Mink\Exception\ExpectationException)
- 002 Scenario: The calendar page must be accessible # /Users/stronk7/git_moodle/moodle/calendar/tests/behat/calendar.feature:243
- Then the page should meet accessibility standards # /Users/stronk7/git_moodle/moodle/calendar/tests/behat/calendar.feature:247
- Accessibility violations found:
- 19 violations of 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds' (severity: serious)
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 610208000"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 610726400"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 610812800"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 611331200"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 611417600"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 611936000"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 612022400"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- .weekend.text-center[data-day-timestamp="\31 613145600"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- .weekend.text-center[data-day-timestamp="\31 613232000"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- .weekend.text-center[data-day-timestamp="\31 613750400"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- .weekend.text-center[data-day-timestamp="\31 613836800"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- .weekend.text-center[data-day-timestamp="\31 614355200"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- .weekend.text-center[data-day-timestamp="\31 614441600"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 615564800"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 615651200"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 616169600"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 616256000"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 616774400"] > span[aria-hidden="true"]
- - Element has insufficient color contrast of 4.44 (foreground color: #6c757d, background color: #f8f9fa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1:
- td[data-day-timestamp="\31 616860800"] > span[aria-hidden="true"]
- 14 violations of 'Ensures <li> elements are used semantically' (severity: serious)
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .depth_1
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_2_2"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_2_3"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_system
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .current_branch
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_container
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_15"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_16"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_17"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_18"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_19"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_20"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_21"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_22"]
- (Behat\Mink\Exception\ExpectationException)
- 003 Scenario: A locked discussion must be accessible # /Users/stronk7/git_moodle/moodle/mod/forum/tests/behat/discussion_lock.feature:55
- Then the page should meet accessibility standards with "wcag143" extra tests # /Users/stronk7/git_moodle/moodle/mod/forum/tests/behat/discussion_lock.feature:63
- Accessibility violations found:
- 13 violations of 'Ensures all ARIA attributes have valid values' (severity: critical)
- - Invalid ARIA attribute value: aria-labelledby="label_2_1":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_1"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_4":
- .depth_2.type_setting[aria-labelledby="label_2_4"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_5":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_5"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_6":
- .depth_2.type_setting[aria-labelledby="label_2_6"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_7":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_7"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_8":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_8"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_9":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_9"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_10":
- .type_custom.depth_2[aria-labelledby="label_2_10"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_11":
- .type_container.depth_2[aria-labelledby="label_2_11"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_12":
- #random6023986d74ec124_group > .type_container.contains_branch[aria-labelledby="label_2_12"]
- - Invalid ARIA attribute value: aria-labelledby="label_2_14":
- li[aria-labelledby="label_2_14"]
- - Invalid ARIA attribute value: aria-labelledby="label_1_2":
- li[aria-labelledby="label_1_2"]
- - Invalid ARIA attribute value: aria-labelledby="label_1_4":
- .type_siteadmin
- 33 violations of 'Ensures <li> elements are used semantically' (severity: serious)
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_unknown.depth_1[aria-labelledby="label_1_1"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec12_group > .depth_2.type_setting[aria-labelledby="label_2_2"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_course.contains_branch[aria-labelledby="label_2_3"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_system
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_3_14"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_15"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_19"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_20"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_21"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_22"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_activity
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .depth_6
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_25"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_26"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_27"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_4_28"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #settingsnav > .block_tree.list[role="tree"] > .depth_1.contains_branch[aria-labelledby="label_1_1"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_1"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_2"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_3"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .depth_2.type_setting[aria-labelledby="label_2_4"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_5"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .depth_2.type_setting[aria-labelledby="label_2_6"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_7"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_8"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_9"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_custom.depth_2[aria-labelledby="label_2_10"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_container.depth_2[aria-labelledby="label_2_11"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- #random6023986d74ec124_group > .type_container.contains_branch[aria-labelledby="label_2_12"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .depth_2.type_setting[aria-labelledby="label_2_13"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_2_14"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- li[aria-labelledby="label_1_2"]
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_siteadmin
- (Behat\Mink\Exception\ExpectationException)
- 004 Scenario: Login page must be accessible # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:59
- Then the page should meet accessibility standards # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:63
- Accessibility violations found:
- 2 violations of 'Ensures <li> elements are used semantically' (severity: serious)
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_unknown
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_system
- (Behat\Mink\Exception\ExpectationException)
- 005 Scenario: The login page must have sufficient colour contrast # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:73
- And the page should meet accessibility standards with "wcag143" extra tests # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:78
- Accessibility violations found:
- 2 violations of 'Ensures <li> elements are used semantically' (severity: serious)
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_unknown
- - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
- .type_system
- (Behat\Mink\Exception\ExpectationException)
- 5 escenarios (5 fallaron)
- 64 pasos (36 pasaron, 5 fallaron, 23 saltadas)
- 1m1.89s (55.46Mb)
Advertisement
Add Comment
Please, Sign In to add comment