<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Your Questions Answered #5</title>
	<atom:link href="http://html5doctor.com/your-questions-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://html5doctor.com/your-questions-5/</link>
	<description>helping you implement HTML5 today</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:37:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Adam Boarman&#39;s dot com &#187; Blog Archive &#187; Your Questions Answered #8</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-5647</link>
		<dc:creator>Adam Boarman&#39;s dot com &#187; Blog Archive &#187; Your Questions Answered #8</dc:creator>
		<pubDate>Thu, 24 Jun 2010 08:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-5647</guid>
		<description>[...] Your Questions Answered #5 [...]</description>
		<content:encoded><![CDATA[<p>[...] Your Questions Answered #5 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Hammond</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2375</link>
		<dc:creator>Nathan Hammond</dc:creator>
		<pubDate>Fri, 05 Mar 2010 18:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2375</guid>
		<description>@Ian (Original Question)

The basic version of what Mozilla did for creating the video scaling effect can be accomplished by wrapping a video element in a div. The video element would need to be set to 100% of the width and height of the div and then you can scale the div however you see fit.

There are, of course, a lot more considerations than just that, but that should get you started. If you&#039;re interested in recreating this effect you can use &lt;a href=&quot;http://www.mozilla.com/js/mozilla-video-tools.js&quot; rel=&quot;nofollow&quot;&gt;Mozilla&#039;s JavaScript&lt;a&gt; as a guideline.</description>
		<content:encoded><![CDATA[<p>@Ian (Original Question)</p>
<p>The basic version of what Mozilla did for creating the video scaling effect can be accomplished by wrapping a video element in a div. The video element would need to be set to 100% of the width and height of the div and then you can scale the div however you see fit.</p>
<p>There are, of course, a lot more considerations than just that, but that should get you started. If you&#8217;re interested in recreating this effect you can use <a href="http://www.mozilla.com/js/mozilla-video-tools.js" rel="nofollow">Mozilla&#8217;s JavaScript</a><a> as a guideline.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Get more traffic with Google&#8217;s Image search results &#124; Steve Shaw</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2372</link>
		<dc:creator>Get more traffic with Google&#8217;s Image search results &#124; Steve Shaw</dc:creator>
		<pubDate>Thu, 04 Mar 2010 22:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2372</guid>
		<description>[...] Your Questions #5 &#124; HTML5 Doctor [...]</description>
		<content:encoded><![CDATA[<p>[...] Your Questions #5 | HTML5 Doctor [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli Studholme</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2366</link>
		<dc:creator>Oli Studholme</dc:creator>
		<pubDate>Thu, 04 Mar 2010 13:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2366</guid>
		<description>@Florent In those cases adding the text to &lt;code&gt;&lt;li&gt;&lt;/code&gt; (outside &lt;code&gt;&lt;label&gt;&lt;/code&gt;) works for me ;-) I should also ask @feather if his advice has changed in the intervening last 5 years…</description>
		<content:encoded><![CDATA[<p>@Florent In those cases adding the text to <code>&lt;li&gt;</code> (outside <code>&lt;label&gt;</code>) works for me <img src='http://html5doctor.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I should also ask @feather if his advice has changed in the intervening last 5 years…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent V.</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2365</link>
		<dc:creator>Florent V.</dc:creator>
		<pubDate>Thu, 04 Mar 2010 13:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2365</guid>
		<description>Hi all,
@Mike, I’m not knowledgeable enough to do that kind of study. I may ask some accessibility experts I happen to know if they think there is a need for something like this.
@Oli, your two examples are nice. For placing a conventional typographic sign (*) or a few words, it&#039;s a decent solution to embed that information in the label. But sometimes you have a full sentence used as help text or a validation message, and embedding it in the label would be cumbersome (verbose output in a screen reader, for instance).</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
@Mike, I’m not knowledgeable enough to do that kind of study. I may ask some accessibility experts I happen to know if they think there is a need for something like this.<br />
@Oli, your two examples are nice. For placing a conventional typographic sign (*) or a few words, it&#8217;s a decent solution to embed that information in the label. But sometimes you have a full sentence used as help text or a validation message, and embedding it in the label would be cumbersome (verbose output in a screen reader, for instance).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oli Studholme</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2358</link>
		<dc:creator>Oli Studholme</dc:creator>
		<pubDate>Wed, 03 Mar 2010 12:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2358</guid>
		<description>@Florent To associate content with a form field, why not add the content to the label and control positioning via CSS? Examples of this are &lt;a href=&quot;http://simplyaccessible.org/examples/required-form-fields&quot; title=&quot;Simply Accessible: Required Form Fields&quot; rel=&quot;nofollow&quot;&gt;Required Form Fields&lt;/a&gt; and &lt;a href=&quot;http://simplyaccessible.org/article/form-error-messages&quot; title=&quot;Simply Accessible: Form Error Messages&quot; rel=&quot;nofollow&quot;&gt;Form Error Messages&lt;/a&gt;. I also wrap &lt;code&gt;&lt;input&gt;&lt;/code&gt; in &lt;code&gt;&lt;label&gt;&lt;/code&gt; to increase clickable area (click on the label and the input becomes active). Note that while most browsers won’t need the &lt;code&gt;for=&quot;&quot;&lt;/code&gt; attribute when you do this, IE6 still does.

Regarding @John’s &lt;code&gt;&lt;field&gt;&lt;/code&gt; proposal, for me the various &lt;code&gt;&lt;form&gt;&lt;/code&gt; child elements (&lt;code&gt;&lt;input&gt;&lt;/code&gt;, &lt;code&gt;&lt;textarea&gt;&lt;/code&gt; etc) with their associated labels &lt;strong&gt;are&lt;/strong&gt; the fields — the input field, the textarea field etc. I also think the form’s content dictates what wrapper element to use. For me it’s almost always a list (&lt;code&gt;&lt;ol&gt;&lt;/code&gt; or &lt;code&gt;&lt;ul&gt;&lt;/code&gt;), and very rarely a &lt;code&gt;&lt;table&gt;&lt;/code&gt; (for a complex multi-column form). For me &lt;code&gt;&lt;div&gt;&lt;/code&gt; is fine but not ideal (as it’s generally a list of questions), and &lt;code&gt;&lt;dl&gt;&lt;/code&gt; seems inappropriate somehow, maybe because initially the &lt;code&gt;&lt;input&gt;&lt;/code&gt;s don’t have any data. The other disadvantage of &lt;code&gt;&lt;dl&gt;&lt;/code&gt; (and &lt;code&gt;&lt;table&gt;&lt;/code&gt;) is you can’t wrap &lt;code&gt;&lt;input&gt;&lt;/code&gt; in &lt;code&gt;&lt;label&gt;&lt;/code&gt;.

Using &lt;code&gt;&lt;label&gt;&lt;/code&gt; for the label and &lt;code&gt;&lt;input&gt;&lt;/code&gt; for the input is the most important bit though. The rest is presentation as much as anything.</description>
		<content:encoded><![CDATA[<p>@Florent To associate content with a form field, why not add the content to the label and control positioning via CSS? Examples of this are <a href="http://simplyaccessible.org/examples/required-form-fields" title="Simply Accessible: Required Form Fields" rel="nofollow">Required Form Fields</a> and <a href="http://simplyaccessible.org/article/form-error-messages" title="Simply Accessible: Form Error Messages" rel="nofollow">Form Error Messages</a>. I also wrap <code>&lt;input&gt;</code> in <code>&lt;label&gt;</code> to increase clickable area (click on the label and the input becomes active). Note that while most browsers won’t need the <code>for=""</code> attribute when you do this, IE6 still does.</p>
<p>Regarding @John’s <code>&lt;field&gt;</code> proposal, for me the various <code>&lt;form&gt;</code> child elements (<code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code> etc) with their associated labels <strong>are</strong> the fields — the input field, the textarea field etc. I also think the form’s content dictates what wrapper element to use. For me it’s almost always a list (<code>&lt;ol&gt;</code> or <code>&lt;ul&gt;</code>), and very rarely a <code>&lt;table&gt;</code> (for a complex multi-column form). For me <code>&lt;div&gt;</code> is fine but not ideal (as it’s generally a list of questions), and <code>&lt;dl&gt;</code> seems inappropriate somehow, maybe because initially the <code>&lt;input&gt;</code>s don’t have any data. The other disadvantage of <code>&lt;dl&gt;</code> (and <code>&lt;table&gt;</code>) is you can’t wrap <code>&lt;input&gt;</code> in <code>&lt;label&gt;</code>.</p>
<p>Using <code>&lt;label&gt;</code> for the label and <code>&lt;input&gt;</code> for the input is the most important bit though. The rest is presentation as much as anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2345</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Tue, 02 Mar 2010 21:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2345</guid>
		<description>Thanks again! The question &amp; answer concerning the img-tag was an interesting (reflow!) one.</description>
		<content:encoded><![CDATA[<p>Thanks again! The question &amp; answer concerning the img-tag was an interesting (reflow!) one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Robinson</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2339</link>
		<dc:creator>Mike Robinson</dc:creator>
		<pubDate>Tue, 02 Mar 2010 16:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2339</guid>
		<description>@Florent: This is the kind of case study I would be interested in seeing, how beneficial it would be to have those related elements grouped and how it can make a page more accessible. It would definitely be interesting to see what accessibility experts have to say on this subject.

However, I am still concerned about backwards compatibility. We don&#039;t want to fall into a trap of this element being added, and then having unknowledgeable developers thinking that the for attribute is no longer required, excluding it entirely and making the form less accesible in older browsers. The attribute would have to remain for an indefinite amount of time, as we hope that it can be phased out in the future.

Perhaps that is a worthwhile sacrifice? I suppose it depends on the proposed element&#039;s implementation within the browser and how they deal with the combination of the element and a mis-matched for attribute.</description>
		<content:encoded><![CDATA[<p>@Florent: This is the kind of case study I would be interested in seeing, how beneficial it would be to have those related elements grouped and how it can make a page more accessible. It would definitely be interesting to see what accessibility experts have to say on this subject.</p>
<p>However, I am still concerned about backwards compatibility. We don&#8217;t want to fall into a trap of this element being added, and then having unknowledgeable developers thinking that the for attribute is no longer required, excluding it entirely and making the form less accesible in older browsers. The attribute would have to remain for an indefinite amount of time, as we hope that it can be phased out in the future.</p>
<p>Perhaps that is a worthwhile sacrifice? I suppose it depends on the proposed element&#8217;s implementation within the browser and how they deal with the combination of the element and a mis-matched for attribute.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juliano Moreira</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2336</link>
		<dc:creator>Juliano Moreira</dc:creator>
		<pubDate>Tue, 02 Mar 2010 16:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2336</guid>
		<description>Hi! Good article. Did you try validating your site? I tried and got 3 errors. Is it possible to fix them?</description>
		<content:encoded><![CDATA[<p>Hi! Good article. Did you try validating your site? I tried and got 3 errors. Is it possible to fix them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent V.</title>
		<link>http://html5doctor.com/your-questions-5/comment-page-1/#comment-2334</link>
		<dc:creator>Florent V.</dc:creator>
		<pubDate>Tue, 02 Mar 2010 15:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=1400#comment-2334</guid>
		<description>Regarding the (for now fictional) FIELD tag, it could be used to specify that some content is relative to the field. That could be help text, error messages, instant validation feedback, etc. Right now this text is place before or after the field, with no semantic way of saying to which field it should be applied. We rely on CSS to put that kind of content close to the field or right of it.

So I think this proposal could help for accessibility needs. I would like to know if accessibility experts think it would be useful or not.</description>
		<content:encoded><![CDATA[<p>Regarding the (for now fictional) FIELD tag, it could be used to specify that some content is relative to the field. That could be help text, error messages, instant validation feedback, etc. Right now this text is place before or after the field, with no semantic way of saying to which field it should be applied. We rely on CSS to put that kind of content close to the field or right of it.</p>
<p>So I think this proposal could help for accessibility needs. I would like to know if accessibility experts think it would be useful or not.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
