Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84590

Behat AXE testing uses wrong rules

XMLWordPrintable

      MDL-79674 swapped our Axe integration from wcag2a and wcag2aa to wcag21a and wcag21aa.
      MDL-82553 swapped thenswapped them to wcag22a and wcag22aa

      Unfortunately though the rules are not additive.

      By swapping to wcag21a, wcag22a, wcag21aa, and wcag22aa and removing the original wcag2a, and wcag2aa rules we no longer test the original rules!

      You can test this by setting the background colour for the recentlyaccessitems blocks to have bg-dark and text-dark on the same class. This should cause the blocks/recentlyaccesseditems/tests/behat/block_recentlyaccesseditems_dashboard.feature rules to fail, but it does not.

      Adding the wcag2a and wcag2aa rules back to the mix then causes it to fail.

        1. (1) 6 Passed -- (403)MDL-84590.png
          (1) 6 Passed -- (403)MDL-84590.png
          114 kB
        2. (1) 6 Passed -- (404)MDL-84590.png
          (1) 6 Passed -- (404)MDL-84590.png
          113 kB
        3. (1) 6 Passed -- (405)MDL-84590.png
          (1) 6 Passed -- (405)MDL-84590.png
          122 kB
        4. result_4.1_1.png
          result_4.1_1.png
          541 kB
        5. result_4.1_2.png
          result_4.1_2.png
          1.46 MB
        6. result_main_1.png
          result_main_1.png
          696 kB
        7. result_main_2.png
          result_main_2.png
          1.50 MB

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.