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

Form user error "Required" won't be read by screen readers as it's not part of <label>

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.9
    • Fix Version/s: None
    • Labels:
      None

      Description

      When a user misses a value of a required control in a form, and they press the Submit button, the form control is displayed in a red box with the text "Required" (see screenshot). There are 3 problems with this:

      1. As explained for previous bugs MDL-8627 and MDL-11134, in Forms mode screen readers like JAWS do not normally read text outside labels or fieldset legends, so the text "Required" is missed.
      2. The single word "Required" is unsufficient for non-visual users - it's to easy to confuse with the ALT text for the red "Required" asterisk *.
      3. The behaviour described is achieved using Javascript - what happens without? And, the focus is not moved to the form control missing the value. Screen reader users, and potentially ANYONE for long forms, will miss the error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: