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

Fix behat accessibility tests for 3.10

    XMLWordPrintable

Details

    • MOODLE_310_STABLE
    • MOODLE_310_STABLE
    • Hide
      1. init behat:

        php admin/tool/behat/cli/init.php -a=classic --axe
        

      2. run behat a11y tests:

        vendor/bin/behat --format="pretty" --out="std" --format="moodle_progress" --out="std" --format="moodle_progress" --out="./behat.log" --config=$HOME/moodles/stable_311/moodledata_behat/behatrun/behat/behat.yml --suite=classic --profile=headlesschrome --tags '@accessibility'
        

      3. bootstrap's default gray-600 has been updated to a slightly dark gray to fix the a11y color contrast issue, so we need UX to review the colors in moodle in general
      Show
      init behat: php admin/tool/behat/cli/init.php -a=classic --axe run behat a11y tests: vendor/bin/behat --format="pretty" --out="std" --format="moodle_progress" --out="std" --format="moodle_progress" --out="./behat.log" --config=$HOME/moodles/stable_311/moodledata_behat/behatrun/behat/behat.yml --suite=classic --profile=headlesschrome --tags '@accessibility' bootstrap's default gray-600 has been updated to a slightly dark gray to fix the a11y color contrast issue, so we need UX to review the colors in moodle in general
    • 0
    • HQ Team International Sprint 6, HQ Team International Sprint 7

    Description

      This ticket is clone of MDL-70846 to backport to moodle 3.10.

       

       
      Recently we have started to run accessibility tests @ ci.moodle.org. That new feature was added by MDL-67687.
      They are passing perfectly using boost, but running them for classic has revealed some real problems:
      Link: https://ci.moodle.org/job/W.06.01%20-%20Behat%20-%20Chrome%20+%20Postgres%20+%20Classic/546/
      Error summary: https://pastebin.com/YLKEC7w1
      To reproduce:
      1) init behat with --axe switch: php admin/tool/behat/cli/init.php -a=classic --axe -j=1
      2) run behat with --suite classic --tags '@accessibility'
      Ciao
       

      Attachments

        Issue Links

          Activity

            People

              dongsheng Dongsheng Cai
              dongsheng Dongsheng Cai
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              Andrew Lyons Andrew Lyons
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Sep/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 29 minutes
                  3h 29m