#35870: Allow customization of the blank option in select dropdowns
-------------------------------------+-------------------------------------
Reporter: Marijke Luttekes | Owner: Thibaud
Type: | Colas
Cleanup/optimization | Status: assigned
Component: Forms | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Marijke Luttekes):
> How about going to the Forum to obtain best practices for an accessible
empty select option?
The person who suggested `(select an option)` (James Scholes) is not only
blind but also the head of accessibility of a company that specializes in
inclusive design and accessibility. While I am not saying we shouldn't
consult the forum, I highly value his professional opinion.
> Could `aria-label` usage help here?
I advise against the use of `aria-label`, as it has some issues. Most
notably, translation tools like Google Translate ignore these attributes
completely. Alternatively, you can use `aria-labelledby` and point it to
an element with regular text contents. (The same goes for `aria-
description` versus `aria-describedby`).
--
Ticket URL: <https://code.djangoproject.com/ticket/35870#comment:9>
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/01070192d5071588-35907141-6ba3-4dbf-b2e7-e4a54d2ba6b1-000000%40eu-central-1.amazonses.com.