ACTION-10: Draft a server-side technique based on http://lists.w3.org/Archives/Public/public-wcag2-techs/2008Jul/0000.html
Draft a server-side technique based on http://lists.w3.org/Archives/Public/public-wcag2-techs/2008Jul/0000.html
- State:
- pending review
- Person:
- Alex Li
- Due on:
- March 19, 2009
- Created on:
- March 12, 2009
- Related emails:
- Minutes of Silver TF F2F Day 1 - 12 December 2016 (from jspellman@spellmanconsulting.com on 2016-12-12)
Related notes:
Description
The objective of this technique is to identify via text, fields in a form that contains error(s). Where appropriate, the error message can also suggest corrective action. Server-side scripting can be used to re-display the form. Text is used to identify the field(s) with the error; suggestion for correction is also included where appropriate.
Examples
• User erroneously enters non-numeric characters in a field entry for telephone number. The server checks for error after the user submission and provide textual feedback to user that the telephone field requires numeric characters.
• User erroneously enters a 7-digit-postal code for the United States. The server checks for error after the user submission and provide textual feedback to user that the United States postal code must be 5 or 9 digit long.
• Form includes a “Check in†and “Check out†date for hotel check-in. The user erroneously enters check out date prior to the check in date. The server checks for error after the user submission and provide textual feedback to user that check out must take place after check in.
Related Techniques
G83: Providing text descriptions to identify required fields that were not completed
G89: Providing expected data format and example
SCR18: Providing client-side validation and alert
Tests
Procedure
For form fields that require specific input:
1. enter invalid data
2. activate submit button
3. determine if an alert describing the error is provided.
Expected Results
• #3 is true
Likely overtaken by events, cannot find a server side technique that made the final cut that related to this action. Suggest closing. [1]
[1] http://www.w3.org/TR/WCAG20-TECHS/server-side-script.html
Display change log.