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

Accessibility errors detected by behat on classic

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • 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

      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

        1. image-2021-04-07-16-24-21-582.png
          1.15 MB
          Dongsheng Cai
        2. image-2021-06-03-13-54-47-789.png
          374 kB
          Dongsheng Cai
        3. image-2021-06-03-14-00-43-784.png
          396 kB
          Dongsheng Cai
        4. MDL-70846_Test Passed.PNG
          79 kB
          Gladys Basiana

            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

              Created:
              Updated:
              Resolved:

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

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