E-mail List Archives
Re: form validation and error handling. (tech gurus)
From: Meacham, Steve - FSA, Kansas City, MO
Date: Sep 14, 2017 9:14AM
- Next message: Bryan Garaventa: "Re: visually impaired front end developer"
- Previous message: Beranek, Nicholas: "Re: Burger Menus and necessary ARIA support"
- Next message in Thread: None
- Previous message in Thread: Birkir R. Gunnarsson: "Re: form validation and error handling. (tech gurus)"
- View all messages in this Thread
I've found that the most robust validation practice is to validate in the browser (HTML5 and/or JavaScript) and then server-side (because the browser can't be trusted). The first provides the most usability, and the later the most security. If one and only one were an option, chose the server-side and do what it takes to keep it usable enough.
To do this, the server-side validation would need to re-present the page that contained validation error, but incorporate additional human-friendly cues such as error messages, instructions, and possibly even scrolling the page and setting the focus automatically.
- Next message: Bryan Garaventa: "Re: visually impaired front end developer"
- Previous message: Beranek, Nicholas: "Re: Burger Menus and necessary ARIA support"
- Next message in Thread: None
- Previous message in Thread: Birkir R. Gunnarsson: "Re: form validation and error handling. (tech gurus)"
- View all messages in this Thread