#32765: Label for ReadOnlyPasswordHashWidget points to non-labelable element.
--------------------------------------+------------------------------------
     Reporter:  David Sanders         |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.auth          |                  Version:  3.2
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  1                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Description changed by David Sanders:

Old description:

> In the admin, the label element for the `ReadOnlyPasswordHashWidget`
> widget has a 'for' attribute which points to a non-existent HTML ID,
> since the widget just renders text, not an input. There's no labelable
> element for the widget, so the label shouldn't have a 'for' attribute.

New description:

 In the admin, the label element for the `ReadOnlyPasswordHashWidget`
 widget has a 'for' attribute which points to a non-labelable element,
 since the widget just renders text, not an input. There's no labelable
 element for the widget, so the label shouldn't have a 'for' attribute.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32765#comment:3>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/068.83cd2d8889dc85854788dcc45dc55fe4%40djangoproject.com.

Reply via email to