Opened 4 years ago
Last modified 4 years ago
#32765 closed Cleanup/optimization
Label for ReadOnlyPasswordHashWidget points to non-existent HTML ID — at Initial Version
| Reported by: | David Sanders | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.auth | Version: | 3.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
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.
Note:
See TracTickets
for help on using tickets.