DevPath

Make an inline form error accessible

Foundation · frontend · 20 min · runtime js-node

Brief

A form shows errors only as a red border. Describe the markup and focus behaviour needed so a screen-reader user hears the error and knows which field failed.

3 progressive hints are available in the editor.

Public checks

  • associates error text — expected: mentions aria-describedby or label association