Make it possible to autocomplete input fields.
For all user interface components (e.g. forms, links, scripts, controls, etc.), the name and role of those components should be coded in. Any states, properties, and values set by the user should be able to be programmatically updated so browsers and assistive technologies recognize them and reflect those changes.
Make sure your website uses correct markup and is free of errors that may create usability problems.
Provide ample opportunity for users to review and correct any potential errors, especially those that may have a big impact.
Make suggestions on how to fix form errors if an input error is automatically detected.