
322 – Why accessibility is so important and how you can do better with Nic Steenhout
WP Builds
00:00
How to Programmatically Associate Errors With Inputs
In an ideal world, if you're going to have a lot of errors, you can do what is called an error bucket. You also want to programmatically associate the error with the input. Don't do your inline validation on a per character because it makes it next to impossible to use for blind screen reader users. Do it once the field is actually left. That's when you're saying, yeah, okay, it's okay or no, there's a problem with this.
Transcript
Play full episode