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

Word count option in Assignment has an empty label that confuses screenreaders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.3, 3.4
    • Fix Version/s: None
    • Component/s: Accessibility, Assignment
    • Labels:
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_34_STABLE

      Description

      The Word count option in Assignment has an empty label, which can be confusing for screenreader users.

      The label is hidden with accesshide anyway (as it's part of a grouped control), so whatever text is added would only be seen by screenreaders anyway.

      Currently the code intentionally passes in an empty string.

      mod/assign/submission/onlinetext/locallib.php
      81: $mform->addGroup($wordlimitgrp, 'assignsubmission_onlinetext_wordlimit_group', $name, ' ', false);

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bawjaws David Scotson
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: