Alternative test for Firefox for embedded labels

Using the Mouse:
If Label is present:
1. Place the mouse over the label and right click.
2. A menu will appear; Choose the Inspect Element option
3. The label code will appear.  If it has a "for=formID" attribute the form
/ control passes.
4. If the form / control HTML occurs inside the scope of the label element,
the form / control passes.
Label is not present
1. Place the mouse on the form / control and right click
2. Check for a title attribute.  If a title is given the form / control
3. Check for a name attribute.  If a name is present the form / control

I think that handles all programmatically determined cases.


Received on Thursday, 21 November 2013 21:46:56 UTC