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

Accessibility errors detected by behat on classic

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-70846-311
    • MDL-70846-master
    • 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
    • Internationals - 4.0 Sprint 1, HQ Team International Sprint 2

    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

              dongsheng Dongsheng Cai
              stronk7 Eloy Lafuente (stronk7)
              Jordi Pujol-Ahulló Jordi Pujol-Ahulló
              Andrew Lyons Andrew Lyons
              Gladys Basiana Gladys Basiana
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Jul/21

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 4 hours, 48 minutes
                  4d 4h 48m