Opened 4 years ago
Last modified 4 years ago
#32765 closed Cleanup/optimization
Label for ReadOnlyPasswordHashWidget points to non-labelable element. — at Version 3
Description (last modified by ) ¶
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.
Change History (3)
comment:1 by , 4 years ago
Has patch: | set |
---|
comment:2 by , 4 years ago
Needs tests: | set |
---|---|
Summary: | Label for ReadOnlyPasswordHashWidget points to non-existent HTML ID → Label for ReadOnlyPasswordHashWidget points to non-labelable element. |
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
comment:3 by , 4 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Agreed, currently it's associated with
<div>
which is not a labelable element, see spec.PR