Advertisement
stronk7

Untitled

Feb 10th, 2021
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.37 KB | None | 0 0
  1. $ br --profile headlesschromedriver --suite classic --tags '@accessibility'
  2.  
  3. Command: vendor/bin/behat --config /Users/stronk7/Sites/moodle_data_git/master/postgres_behat/behatrun/behat/behat.yml --profile headlesschromedriver --suite classic --tags @accessibility
  4.  
  5. Moodle 4.0dev (Build: 20210204), 4e398ff3f718fe85912ea1db7407d09ecaea158a
  6. Php: 7.4.14, pgsql: 9.6.20, OS: Darwin 20.3.0 x86_64
  7. Run optional tests:
  8. - Accessibility: Yes
  9. Server OS "Darwin", Browser: "chrome"
  10. Started at 10-02-2021, 16:24
  11. .....F............F--...............F---------------.F------...F
  12.  
  13. --- Pasos fallidos:
  14.  
  15. 001 Scenario: The dashboard page must have sufficient colour contrast # /Users/stronk7/git_moodle/moodle/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature:317
  16. Then the page should meet "wcag143" accessibility standards # /Users/stronk7/git_moodle/moodle/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature:319
  17. Accessibility violations found:
  18. 11 violations of 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds' (severity: serious)
  19. - 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:
  20. .mt-3.text-muted
  21.  
  22. - 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:
  23. #groupingdropdown > .d-sm-inline-block[data-active-item-text=""]
  24.  
  25. - 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:
  26. #sortingdropdown > .d-sm-inline-block[data-active-item-text=""]
  27.  
  28. - 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:
  29. #displaydropdown > .d-sm-inline-block[data-active-item-text=""]
  30.  
  31. - 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:
  32. .text-xs-center.mt-3[data-region="empty-message"] > .text-muted.mt-1
  33.  
  34. - 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:
  35. td[data-day-timestamp="\31 613145600"] > span[aria-hidden="true"]
  36.  
  37. - 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:
  38. td[data-day-timestamp="\31 613232000"] > span[aria-hidden="true"]
  39.  
  40. - 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:
  41. td[data-day-timestamp="\31 613750400"] > span[aria-hidden="true"]
  42.  
  43. - 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:
  44. td[data-day-timestamp="\31 613836800"] > span[aria-hidden="true"]
  45.  
  46. - 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:
  47. td[data-day-timestamp="\31 614355200"] > span[aria-hidden="true"]
  48.  
  49. - 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:
  50. td[data-day-timestamp="\31 614441600"] > span[aria-hidden="true"]
  51.  
  52.  
  53. (Behat\Mink\Exception\ExpectationException)
  54.  
  55. 002 Scenario: The calendar page must be accessible # /Users/stronk7/git_moodle/moodle/calendar/tests/behat/calendar.feature:243
  56. Then the page should meet accessibility standards # /Users/stronk7/git_moodle/moodle/calendar/tests/behat/calendar.feature:247
  57. Accessibility violations found:
  58. 19 violations of 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds' (severity: serious)
  59. - 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:
  60. td[data-day-timestamp="\31 610208000"] > span[aria-hidden="true"]
  61.  
  62. - 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:
  63. td[data-day-timestamp="\31 610726400"] > span[aria-hidden="true"]
  64.  
  65. - 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:
  66. td[data-day-timestamp="\31 610812800"] > span[aria-hidden="true"]
  67.  
  68. - 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:
  69. td[data-day-timestamp="\31 611331200"] > span[aria-hidden="true"]
  70.  
  71. - 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:
  72. td[data-day-timestamp="\31 611417600"] > span[aria-hidden="true"]
  73.  
  74. - 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:
  75. td[data-day-timestamp="\31 611936000"] > span[aria-hidden="true"]
  76.  
  77. - 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:
  78. td[data-day-timestamp="\31 612022400"] > span[aria-hidden="true"]
  79.  
  80. - 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:
  81. .weekend.text-center[data-day-timestamp="\31 613145600"] > span[aria-hidden="true"]
  82.  
  83. - 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:
  84. .weekend.text-center[data-day-timestamp="\31 613232000"] > span[aria-hidden="true"]
  85.  
  86. - 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:
  87. .weekend.text-center[data-day-timestamp="\31 613750400"] > span[aria-hidden="true"]
  88.  
  89. - 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:
  90. .weekend.text-center[data-day-timestamp="\31 613836800"] > span[aria-hidden="true"]
  91.  
  92. - 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:
  93. .weekend.text-center[data-day-timestamp="\31 614355200"] > span[aria-hidden="true"]
  94.  
  95. - 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:
  96. .weekend.text-center[data-day-timestamp="\31 614441600"] > span[aria-hidden="true"]
  97.  
  98. - 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:
  99. td[data-day-timestamp="\31 615564800"] > span[aria-hidden="true"]
  100.  
  101. - 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:
  102. td[data-day-timestamp="\31 615651200"] > span[aria-hidden="true"]
  103.  
  104. - 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:
  105. td[data-day-timestamp="\31 616169600"] > span[aria-hidden="true"]
  106.  
  107. - 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:
  108. td[data-day-timestamp="\31 616256000"] > span[aria-hidden="true"]
  109.  
  110. - 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:
  111. td[data-day-timestamp="\31 616774400"] > span[aria-hidden="true"]
  112.  
  113. - 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:
  114. td[data-day-timestamp="\31 616860800"] > span[aria-hidden="true"]
  115.  
  116.  
  117. 14 violations of 'Ensures <li> elements are used semantically' (severity: serious)
  118. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  119. .depth_1
  120.  
  121. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  122. li[aria-labelledby="label_2_2"]
  123.  
  124. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  125. li[aria-labelledby="label_2_3"]
  126.  
  127. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  128. .type_system
  129.  
  130. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  131. .current_branch
  132.  
  133. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  134. .type_container
  135.  
  136. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  137. li[aria-labelledby="label_4_15"]
  138.  
  139. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  140. li[aria-labelledby="label_4_16"]
  141.  
  142. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  143. li[aria-labelledby="label_4_17"]
  144.  
  145. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  146. li[aria-labelledby="label_4_18"]
  147.  
  148. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  149. li[aria-labelledby="label_4_19"]
  150.  
  151. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  152. li[aria-labelledby="label_4_20"]
  153.  
  154. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  155. li[aria-labelledby="label_4_21"]
  156.  
  157. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  158. li[aria-labelledby="label_4_22"]
  159.  
  160.  
  161. (Behat\Mink\Exception\ExpectationException)
  162.  
  163. 003 Scenario: A locked discussion must be accessible # /Users/stronk7/git_moodle/moodle/mod/forum/tests/behat/discussion_lock.feature:55
  164. Then the page should meet accessibility standards with "wcag143" extra tests # /Users/stronk7/git_moodle/moodle/mod/forum/tests/behat/discussion_lock.feature:63
  165. Accessibility violations found:
  166. 13 violations of 'Ensures all ARIA attributes have valid values' (severity: critical)
  167. - Invalid ARIA attribute value: aria-labelledby="label_2_1":
  168. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_1"]
  169.  
  170. - Invalid ARIA attribute value: aria-labelledby="label_2_4":
  171. .depth_2.type_setting[aria-labelledby="label_2_4"]
  172.  
  173. - Invalid ARIA attribute value: aria-labelledby="label_2_5":
  174. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_5"]
  175.  
  176. - Invalid ARIA attribute value: aria-labelledby="label_2_6":
  177. .depth_2.type_setting[aria-labelledby="label_2_6"]
  178.  
  179. - Invalid ARIA attribute value: aria-labelledby="label_2_7":
  180. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_7"]
  181.  
  182. - Invalid ARIA attribute value: aria-labelledby="label_2_8":
  183. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_8"]
  184.  
  185. - Invalid ARIA attribute value: aria-labelledby="label_2_9":
  186. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_9"]
  187.  
  188. - Invalid ARIA attribute value: aria-labelledby="label_2_10":
  189. .type_custom.depth_2[aria-labelledby="label_2_10"]
  190.  
  191. - Invalid ARIA attribute value: aria-labelledby="label_2_11":
  192. .type_container.depth_2[aria-labelledby="label_2_11"]
  193.  
  194. - Invalid ARIA attribute value: aria-labelledby="label_2_12":
  195. #random6023986d74ec124_group > .type_container.contains_branch[aria-labelledby="label_2_12"]
  196.  
  197. - Invalid ARIA attribute value: aria-labelledby="label_2_14":
  198. li[aria-labelledby="label_2_14"]
  199.  
  200. - Invalid ARIA attribute value: aria-labelledby="label_1_2":
  201. li[aria-labelledby="label_1_2"]
  202.  
  203. - Invalid ARIA attribute value: aria-labelledby="label_1_4":
  204. .type_siteadmin
  205.  
  206.  
  207. 33 violations of 'Ensures <li> elements are used semantically' (severity: serious)
  208. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  209. .type_unknown.depth_1[aria-labelledby="label_1_1"]
  210.  
  211. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  212. #random6023986d74ec12_group > .depth_2.type_setting[aria-labelledby="label_2_2"]
  213.  
  214. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  215. .type_course.contains_branch[aria-labelledby="label_2_3"]
  216.  
  217. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  218. .type_system
  219.  
  220. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  221. li[aria-labelledby="label_3_14"]
  222.  
  223. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  224. li[aria-labelledby="label_4_15"]
  225.  
  226. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  227. li[aria-labelledby="label_4_19"]
  228.  
  229. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  230. li[aria-labelledby="label_4_20"]
  231.  
  232. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  233. li[aria-labelledby="label_4_21"]
  234.  
  235. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  236. li[aria-labelledby="label_4_22"]
  237.  
  238. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  239. .type_activity
  240.  
  241. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  242. .depth_6
  243.  
  244. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  245. li[aria-labelledby="label_4_25"]
  246.  
  247. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  248. li[aria-labelledby="label_4_26"]
  249.  
  250. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  251. li[aria-labelledby="label_4_27"]
  252.  
  253. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  254. li[aria-labelledby="label_4_28"]
  255.  
  256. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  257. #settingsnav > .block_tree.list[role="tree"] > .depth_1.contains_branch[aria-labelledby="label_1_1"]
  258.  
  259. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  260. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_1"]
  261.  
  262. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  263. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_2"]
  264.  
  265. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  266. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_3"]
  267.  
  268. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  269. .depth_2.type_setting[aria-labelledby="label_2_4"]
  270.  
  271. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  272. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_5"]
  273.  
  274. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  275. .depth_2.type_setting[aria-labelledby="label_2_6"]
  276.  
  277. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  278. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_7"]
  279.  
  280. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  281. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_8"]
  282.  
  283. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  284. #random6023986d74ec124_group > .depth_2.type_setting[aria-labelledby="label_2_9"]
  285.  
  286. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  287. .type_custom.depth_2[aria-labelledby="label_2_10"]
  288.  
  289. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  290. .type_container.depth_2[aria-labelledby="label_2_11"]
  291.  
  292. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  293. #random6023986d74ec124_group > .type_container.contains_branch[aria-labelledby="label_2_12"]
  294.  
  295. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  296. .depth_2.type_setting[aria-labelledby="label_2_13"]
  297.  
  298. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  299. li[aria-labelledby="label_2_14"]
  300.  
  301. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  302. li[aria-labelledby="label_1_2"]
  303.  
  304. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  305. .type_siteadmin
  306.  
  307.  
  308. (Behat\Mink\Exception\ExpectationException)
  309.  
  310. 004 Scenario: Login page must be accessible # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:59
  311. Then the page should meet accessibility standards # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:63
  312. Accessibility violations found:
  313. 2 violations of 'Ensures <li> elements are used semantically' (severity: serious)
  314. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  315. .type_unknown
  316.  
  317. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  318. .type_system
  319.  
  320.  
  321. (Behat\Mink\Exception\ExpectationException)
  322.  
  323. 005 Scenario: The login page must have sufficient colour contrast # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:73
  324. And the page should meet accessibility standards with "wcag143" extra tests # /Users/stronk7/git_moodle/moodle/auth/tests/behat/login.feature:78
  325. Accessibility violations found:
  326. 2 violations of 'Ensures <li> elements are used semantically' (severity: serious)
  327. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  328. .type_unknown
  329.  
  330. - List item does not have a <ul>, <ol> parent element without a role, or a role="list":
  331. .type_system
  332.  
  333.  
  334. (Behat\Mink\Exception\ExpectationException)
  335.  
  336. 5 escenarios (5 fallaron)
  337. 64 pasos (36 pasaron, 5 fallaron, 23 saltadas)
  338. 1m1.89s (55.46Mb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement