-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.1.1
-
Component/s: Accessibility, Forms Library
-
Testing Instructions:
-
Affected Branches:MOODLE_21_STABLE
-
Fixed Branches:MOODLE_24_STABLE, MOODLE_25_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-30839-master
-
Story Points:20
-
Sprint:FRONTEND Sprint 3
A better mechanism needs to be used to help users identify errors in form submissions. The text that appears on the page after an invalid submission is not easily found by screen reader users. There are several techniques for improving error recovery in forms. The basic premise is to
1. either automatically set the focus to the error message (usually used server-side validation) or use ARIA attributes to notify the user of an error message (usually used client-side validation)
2. provide enough detail in the error message so the user knows what the error was
3. provide links within the context of the error message to allow users to easily jump to the parts of the form where errors occurred
WebAIM's tutorial on Error Recovery in Forms
http://webaim.org/techniques/formvalidation/#error
W3C Technique for "Creating a mechanism that allows users to jump to errors"
http://www.w3.org/TR/WCAG20-TECHS/G139.html