Advertisement
sarjona

Behat with axe new version library

Jan 13th, 2022
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1.  
  2. 001 Scenario: The calendar page must be accessible # /home/sara/moodles/stable_master-dev/moodle/calendar/tests/behat/calendar.feature:245
  3. Then the page should meet accessibility standards # /home/sara/moodles/stable_master-dev/moodle/calendar/tests/behat/calendar.feature:249
  4. Accessibility violations found:
  5. 9 violations of 'Ensures ARIA attributes are allowed for an element's role' (severity: serious)
  6. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  7. .fa-bell-o
  8.  
  9. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  10. .fa-comment-o
  11.  
  12. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  13. button[data-placement="left"] > .fa-times[aria-label="Close\ drawer"][title="Close\ drawer"]
  14.  
  15. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  16. i[title="Hide\ site\ events"]
  17.  
  18. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  19. i[title="Hide\ category\ events"]
  20.  
  21. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  22. i[title="Hide\ course\ events"]
  23.  
  24. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  25. i[title="Hide\ group\ events"]
  26.  
  27. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  28. i[title="Hide\ user\ events"]
  29.  
  30. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  31. i[title="Hide\ other\ events"]
  32.  
  33.  
  34. (Behat\Mink\Exception\ExpectationException)
  35.  
  36. 002 Scenario: A locked discussion must be accessible # /home/sara/moodles/stable_master-dev/moodle/mod/forum/tests/behat/discussion_lock.feature:53
  37. Then the page should meet accessibility standards with "wcag143" extra tests # /home/sara/moodles/stable_master-dev/moodle/mod/forum/tests/behat/discussion_lock.feature:60
  38. Accessibility violations found:
  39. 3 violations of 'Ensures ARIA attributes are allowed for an element's role' (severity: serious)
  40. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  41. .fa-bell-o
  42.  
  43. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  44. .fa-comment-o
  45.  
  46. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  47. .fa-external-link
  48.  
  49.  
  50. (Behat\Mink\Exception\ExpectationException)
  51.  
  52. 003 Scenario: Login page must be accessible # /home/sara/moodles/stable_master-dev/moodle/auth/tests/behat/login.feature:57
  53. And the page should meet accessibility standards # /home/sara/moodles/stable_master-dev/moodle/auth/tests/behat/login.feature:66
  54. Accessibility violations found:
  55. 1 violations of 'Ensures ARIA attributes are allowed for an element's role' (severity: serious)
  56. - ARIA attribute: aria-label is not allowed. Use a different role attribute or element.:
  57. .fa-question-circle
  58.  
  59.  
  60. (Behat\Mink\Exception\ExpectationException)
  61.  
  62. 5 scenarios (2 passed, 3 failed)
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement