Accessible names for Add / Change buttons in Django Admin
In the Django Admin home screen, all "Add" and "Change" buttons have the same accesible name ("Add" and "Change"), which may be confusing for users with screen readers. This was checked with the Accessibility Insights for the Web extension.
Changing the accessible names to "Add <model-name>" and "Change <model-name>" might be clearer for users with screen readers, but could make it confusing for users using voiceover trying to reference the buttons by their visible names (Add / Change).
Change History
(8)
Component: |
Uncategorized → contrib.admin
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Bug
|
Owner: |
changed from nobody to Eliana Rosselli
|
Status: |
new → assigned
|
Has patch: |
set
|
Patch needs improvement: |
set
|
Needs tests: |
unset
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Thank you for the report @Eliana Rosselli! This is a tricky one. As we dicussed there is the risk to do something that works better for some users, but potentially at the expense of others. This article comes to mind: Voice Control Usability Considerations For Partially Visually Hidden Link Names.
There is clearly room for improvement here so I will accept the ticket now – but we need a fair bit of research before deciding what to do about this. My hunch is that an
aria-describedby
might help, but I’d like to see ourselves reviewing other patterns.