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

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.9
    • None

      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.

            nfreear Nick Freear
            nfreear Nick Freear
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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