#36640: Error messages should use aria-errormessage
-------------------------------------+-------------------------------------
     Reporter:  Tobias Bengfort      |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Forms                |                  Version:  5.2
     Severity:  Normal               |               Resolution:
     Keywords:  accessibility, ui,   |             Triage Stage:
  forms                              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Comment (by Antoliny):

 Thank you Tobias :)
 I like this proposal.
 I looked into the materials you provided and also researched `aria-
 errormessage`.

 It does seem that providing error messages through a`ria-errormessage`,
 instead of including both the error message and help text in `aria-
 describedby`, offers more advantages.
 However, the problem lies in the support coverage of `aria-errormessage`.

 It appears that `aria-errormessage` is not yet supported by macOS
 VoiceOver and TalkBack.
 While it is supported by screen readers with higher market share( NVDA,
 JAWS, and iOS VoiceOver..), I wasn’t able to confidently triage this issue
 because of that limitation.

 If we switch to using `aria-errormessage`, devices that don’t support it
 won’t read out the error message at all, which could actually make the
 experience worse than before.
 So I think it would be best to get the accessibility team opinion on this.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36640#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070199d5e5824d-501cd28a-34da-459b-a186-aa3544f0db40-000000%40eu-central-1.amazonses.com.

Reply via email to