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

Accessibility errors detected by behat on classic

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. init behat: php admin/tool/behat/cli/init.php -a=classic --axe -j=1
      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
      1. init behat: php admin/tool/behat/cli/init.php -a=classic --axe -j=1 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
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-70846_311
    • Pull Master Branch:
      MDL-70846_master

      Description

      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

              Assignee:
              dongsheng Dongsheng Cai
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 minutes
                  1d 2m