[Zope3-dev] Re: browser widgets: items widgets and label tags

Benji York benji at zope.com
Sat Nov 11 17:33:33 EST 2006


yuppie wrote:
> 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.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-dev mailing list