From 987854ba44b497b195536199f8f6d1dc440a43ca Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 19 Nov 2023 19:26:12 +0000 Subject: Fixed #32819 -- Added aria-describedby to fields with errors. --- docs/ref/forms/api.txt | 56 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 16 deletions(-) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 494f3f244e..1b1ecbec6c 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -986,14 +986,16 @@ the ``Form``, then the latter ``field_order`` will have precedence. You may rearrange the fields any time using ``order_fields()`` with a list of field names as in :attr:`~django.forms.Form.field_order`. +.. _form-error-display: + How errors are displayed ------------------------ If you render a bound ``Form`` object, the act of rendering will automatically run the form's validation if it hasn't already happened, and the HTML output -will include the validation errors as a ``