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
        

      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
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-70846-311
    • Pull Master Branch:
      MDL-70846-master
    • Story Points:
      0
    • Sprint:
      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

              Assignee:
              dongsheng Dongsheng Cai
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              Jordi Pujol-Ahulló Jordi Pujol-Ahulló
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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