```
<select name="permissions_old" id="id_permissions_from" multiple=""
class="filtered" data-field-name="permissions" data-is-stacked="0">
```
in `admin/auth/group/add/` is lacking the accessible name for the
selected. We suspect is the JS widget modified the label generated.
The problematic select elements:
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L16
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L113
And where their labels need to be created:
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L38
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L83
--
Ticket URL: <https://code.djangoproject.com/ticket/34619>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> The following snippet:
>
> ```
> <select name="permissions_old" id="id_permissions_from" multiple=""
> class="filtered" data-field-name="permissions" data-is-stacked="0">
> ```
>
> in `admin/auth/group/add/` is lacking the accessible name for the
> selected. We suspect is the JS widget modified the label generated.
>
> The problematic select elements:
>
> -
> https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L16
> -
> https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L113
>
> And where their labels need to be created:
>
> -
> https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L38
> -
> https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L83
New description:
The following snippet:
`
<select name="permissions_old" id="id_permissions_from" multiple=""
class="filtered" data-field-name="permissions" data-is-stacked="0">
`
in `admin/auth/group/add/` is lacking the accessible name for the
selected. We suspect is the JS widget modified the label generated.
The problematic select elements:
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L16
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L113
And where their labels need to be created:
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L38
-
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/SelectFilter2.js#L83
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34619#comment:1>
* stage: Unreviewed => Accepted
Old description:
New description:
The following snippet:
The problematic select elements:
--
Comment:
> in `admin/auth/group/add/` is lacking the accessible name for the
selected. We suspect is the JS widget modified the label generated.
Are we talking about `aria-label`? Sorry, I'm not an expert in this area.
Tentatively accepted as I believe you discussed this with Thibaud.
--
Ticket URL: <https://code.djangoproject.com/ticket/34619#comment:2>