1
0
mirror of https://github.com/django/django.git synced 2025-10-30 00:56:09 +00:00

Fixed #32820 -- Added aria-invalid="true" to fields with errors.

Co-authored-by: Demetris Stavrou <demestav@gmail.com>
Co-authored-by: David Smith <smithdc@gmail.com>
This commit is contained in:
Gregor Jerše
2023-06-02 16:27:24 +02:00
committed by Mariusz Felisiak
parent fff14736f1
commit 10725a3187
7 changed files with 156 additions and 95 deletions

View File

@@ -30,7 +30,7 @@ class GeoAdminTest(SimpleTestCase):
' rows="10" name="point" hidden></textarea>',
output,
)
self.assertEqual(len(cm.records), 1)
self.assertEqual(len(cm.records), 2)
self.assertEqual(
cm.records[0].getMessage(),
"Error creating geometry from value 'INVALID()' (String input "