This is regarding development of a web app, but this seemed like the most appropriate board for the matter. I'm sure someone will let me know if it isn't...
iPhone Safari isn't honoring the use of the "for" attribute in the <label> tag, as in, it's not selecting the corresponding radio button/checkbox when the content included in the label is touched. I experience this on iPhone OS 3.1, for what it's worth.
simple example:
<form>
<label for="foo">foo</label>
<input type="radio" id="foo" name="asdf" value="foo" />
<label for="bar">bar</label>
<input type="radio" id="bar" name="asdf" value="bar" />
</form>
I'm not able to duplicate the issue in Safari 4.0.3 (6531.9) on OS X 10.6.1.
Has anyone encountered this before?
iPhone Safari isn't honoring the use of the "for" attribute in the <label> tag, as in, it's not selecting the corresponding radio button/checkbox when the content included in the label is touched. I experience this on iPhone OS 3.1, for what it's worth.
simple example:
<form>
<label for="foo">foo</label>
<input type="radio" id="foo" name="asdf" value="foo" />
<label for="bar">bar</label>
<input type="radio" id="bar" name="asdf" value="bar" />
</form>
I'm not able to duplicate the issue in Safari 4.0.3 (6531.9) on OS X 10.6.1.
Has anyone encountered this before?