Adding additional complexity for
getting the label issue perfectly right doesn't fit much to the rest of
the code. And I doubt any browser will have trouble with 'for'
attributes pointing to a non-control element.
The "for" attributes in labels are used heavily in zope.testbrowser
functional tests. If the human readable labels no longer correctly
identify the controls, control IDs or names would have to be used
instead, which is not conducive to good tests.
Senior Software Engineer
Zope3-dev mailing list