WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Error prevention on required fields

for

From: Patrick H. Lauke
Date: Jul 10, 2019 1:31AM


On 10/07/2019 04:17, dinesh tripathi via WebAIM-Forum wrote:
> Hello,
> There is a long form with more than 100 required fields in multiple sections of single page. Each section has ‘Save' button. The form might not finish in single sitting. When I save each section without entering required fields, error message doesn't occurr but error message published on the page when hit ‘Save and Submit' button which is OK. Can I expect error or warning message to meet the error prevention WCAG requirement when I save each section with empty required fields?

When saving only, it makes sense for errors not to show / prevent the
saving. So yes I'd say there's no requirement at that point for error
prevention, since the user isn't trying to actually submit the data so
an error in a field or an incomplete required field won't have any
adverse effect anyway at that point.

Long story short: the error prevention requirement arguably only applies
when you're actually trying to submit, not just saving/stashing the data.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke