<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    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/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >

<channel>
    <title>Webmonkey &#187; HTML5</title>
    <atom:link href="http://www.webmonkey.com/category/html5/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Mon, 06 May 2013 17:29:19 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Netflix Plans to Ditch Silverlight for HTML5</title>
        <link>http://www.webmonkey.com/2013/04/netflix-plans-to-ditch-silverlight-for-html5/</link>
        <comments>http://www.webmonkey.com/2013/04/netflix-plans-to-ditch-silverlight-for-html5/#comments</comments>
        <pubDate>Tue, 16 Apr 2013 17:00:10 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61623</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[netflix]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/04/Netflixhtml5-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/04/Netflixhtml5.jpg" alt="Netflix Plans to Ditch Silverlight for HTML5" /></div>It will be a little while before HTML5 is ready, says Netflix, but eventually the company plans to migrate its browser-based video player from Microsoft's Silverlight plugin to HTML5.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_61624" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/04/Netflixhtml5.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/04/Netflixhtml5.jpg" alt="" title="Netflixhtml5" width="580" height="379" class="size-full wp-image-61624" /></a><p class="wp-caption-text"><em>Image: Screenshot/Webmonkey</em>.</p></div>Netflix is looking to <a href="http://techblog.netflix.com/2013/04/html5-video-at-netflix.html">ditch its Silverlight-based video player for an HTML5 version</a> that would work pretty much anywhere, but HTML5 isn&#8217;t quite up to the task just yet, according to the company.</p>
<p>Microsoft has already put Silverlight &#8212; once Microsoft&#8217;s much-hyped alternative to Adobe&#8217;s Flash Player &#8212; <a href="http://support.microsoft.com/gp/lifean45#sl5">out to pasture</a>. While Microsoft will continue to support Silverlight for some time, it will be retired come 2021.</p>
<p>That gives Netflix and others eight years to come up with an alternative. For its part Netflix wants to use HTML5, but HTML thus far lacks some key components Netflix needs, namely a way to generate media streams for playback, a cryptography protocol and, <a href="http://www.webmonkey.com/2012/02/html-editor-calls-html5-video-copy-protection-proposal-unethical/">most controversially</a>, DRM for streaming media.</p>
<p>All three components are, however, already draft proposals at the W3C and will likely be an official part of HTML before Silverlight disappears. The three things Netflix needs to bring its video player to HTML5 are the <a href="http://www.w3.org/TR/media-source/">Media Source Extensions</a> specification, the <a href="http://www.w3.org/TR/WebCryptoAPI/">Web Cryptography API</a> and the <a href="https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html">Encrypted Media Extensions</a> specification, better known as DRM for the web.</p>
<p>Netflix has been working with Google to add support for all three &#8212; which the company refers to as &#8220;HTML5 Premium Video Extensions&#8221; &#8212; to Chrome and Chrome OS. For now the new Netflix player for Samsung&#8217;s Chromebook &#8220;uses the Media Source Extensions and Encrypted Media Extensions to adaptively stream protected content.&#8221; </p>
<p>Chrome still lacks support for the Web Cryptography API, so Netflix has developed a Pepper Flash plugin to handle that part of the equation for now. Eventually the company plans to remove the Flash element as soon as Chrome lands support for the Cryptography API.</p>
<p>At that point, says the Netflix blog, &#8220;we can begin testing our new HTML5 video player on Windows and OS X.&#8221;</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/04/netflix-plans-to-ditch-silverlight-for-html5/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>W3C Drops &#8216;hgroup&#8217; Tag From HTML5 Spec</title>
        <link>http://www.webmonkey.com/2013/04/w3c-drops-hgroup-tag-from-html5-spec/</link>
        <comments>http://www.webmonkey.com/2013/04/w3c-drops-hgroup-tag-from-html5-spec/#comments</comments>
        <pubDate>Thu, 11 Apr 2013 12:45:21 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61540</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
        <description><![CDATA[The W3C is in the process of dropping the proposed "hgroup" element from the HTML5 specification. While most modern web browsers already support hgroup to some degree, none of them support complete implementations so hgroup will be sidelined for now. ]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_59200" class="wp-caption alignleft" style="width: 310px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/09/html5.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/09/html5.jpg" alt="" title="html5" width="300" height="342" class="size-full wp-image-59200" /></a><p class="wp-caption-text"><em>Image: Screenshot/Webmonkey</em>.</p></div>If you&#8217;ve been using the HTML5 <code>hgroup</code> tag, now would be a good time to stop. The <code>hgroup</code> tag is in the process of being removed from the W3C&#8217;s HTML5 specification.</p>
<p>While the official reason for <code>hgroup</code>&#8216;s demise is the lack of support for hgroup semantics &#8212; the W3C requires two &#8220;<a href="http://dev.w3.org/html5/decision-policy/decision-policy-v3.html#cr-remove-early">reasonably complete implementations</a>&#8221; &#8212; <code>hgroup</code> is fraught with accessibility problems and lacks many compelling use cases. </p>
<p>The <code>hgroup</code> tag was intended to be a way to group h1-h6 tags, for example a header and a subheading, but the semantics behind the tag mean that only the first header in an <code>hgroup</code> is visible to any accessibility API. As Steve Faulkner, co-editor of the HTML5 spec, <a href="http://lists.w3.org/Archives/Public/public-html/2013Mar/0026.html">writes on the W3C mailing list</a>, this &#8220;effectively removes any notion of a subheading semantic for users and any way for it to be conveyed via an accessibility API.&#8221;</p>
<p>In other words <code>hgroup</code> ends up being semantically no different than a div tag, which is why Faulkner called for <code>hgroup</code> to be removed from the spec in the first place. As of this writing it&#8217;s still there, but Faulkner <a href="http://www.iandevlin.com/blog/2013/04/html5/hgroup-removed-from-the-html5-specification/comment-page-1#comment-10004">says</a> he&#8217;s &#8220;working on the edits&#8221; (which will <a href="http://lists.w3.org/Archives/Public/public-html/2013Apr/0005.html">include some advice on how to handle groups of header tags</a>).</p>
<p>So what should you do if you&#8217;ve used <code>hgroup</code> in your code? Well, if you can, consider removing it. But the browser support &#8212; which is limited to parsing and CSS &#8212; won&#8217;t likely change. And it&#8217;s also possible that some compelling use case will come up that motivates  the W3C to add it to the HTML 5.1 spec (one hopes with better semantic rules) and browser to support it. In the mean time though, slowly step away from the <code>hgroup</code> and no webpages get hurt.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/04/w3c-drops-hgroup-tag-from-html5-spec/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Dropzone.js Adds Drag-and-Drop File Uploads to Any Site</title>
        <link>http://www.webmonkey.com/2013/02/dropzone/</link>
        <comments>http://www.webmonkey.com/2013/02/dropzone/#comments</comments>
        <pubDate>Tue, 26 Feb 2013 20:50:41 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61015</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
        <description><![CDATA[New web technologies tend to travel a trajectory that moves from &#8220;amazing demo with fiendishly complex code&#8221;, to &#8220;very cool product feature&#8221; and finally to open source library that takes 10 seconds to add to your page. Today&#8217;s cutting edge demo is tomorrow&#8217;s jQuery plugin. Take drag-and-drop file uploads for instance. The HTML5 File API [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p>New web technologies tend to travel a trajectory that moves from &#8220;amazing demo with fiendishly complex code&#8221;, to &#8220;very cool product feature&#8221; and finally to open source library that takes 10 seconds to add to your page. Today&#8217;s cutting edge demo is tomorrow&#8217;s jQuery plugin.</p>
<p>Take drag-and-drop file uploads for instance. The HTML5 File API ostensibly solves one of the most common complaints from web app users &#8212; why can&#8217;t I just drag and drop files like I do everywhere else? Well, then you could, but it <a href="http://www.webmonkey.com/2009/09/the_html5_drag_and_drop_api_is_no_panacea_for_developers/">wasn&#8217;t easy to build</a>.</p>
<p>Then <a href="http://www.webmonkey.com/2010/04/google-turns-to-html5-for-gmails-new-drag-and-drop-attachments/">drag-and-drop file uploads became part of Gmail</a>, which meant it was only a matter of time before a jQuery plugin appeared. In fact there are several jQuery plugins that cover this ground, but one particularly nice newcomer is <a href="https://github.com/enyo/dropzone">Dropzone.js</a>.</p>
<p>Dropzone.js makes it dead simple to add a drag-and-drop file uploader to any website, complete with previews of uploaded files. Dropzone also supports the traditional file-picker uploading as well; you don&#8217;t <em>have</em> to drag and drop. </p>
<p>Dropzone supports most modern web browsers, including Chrome 7+, Firefox 4+, IE 10+ and Safari 5.</p>
<p>If you&#8217;re interested, head on over to GitHub and <a href="https://github.com/enyo/dropzone">grab the source code</a> (obviously the plugin requires jQuery, but there is a version that will work with <a href="http://requirejs.org/">RequireJS</a> as well). Also be sure to read through this <a href="https://news.ycombinator.com/item?id=5247443">Hacker News thread</a> for some similar projects and possible alternatives for those who&#8217;d like to avoid the jQuery overhead.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/dropzone/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Video: How ARIA&#8217;s Landmark Roles Work</title>
        <link>http://www.webmonkey.com/2013/02/video-how-arias-landmark-roles-work/</link>
        <comments>http://www.webmonkey.com/2013/02/video-how-arias-landmark-roles-work/#comments</comments>
        <pubDate>Mon, 18 Feb 2013 17:00:53 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60977</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[ARIA]]></category>
		<category><![CDATA[WAI-ARIA]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/02/ARIA-w.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/02/ARIA-w.jpg" alt="Video: How ARIA&#8217;s Landmark Roles Work" /></div>You know they help make pages more accessible for people using assistive technologies, but do you know *how* ARIA's Landmark Roles work? Accessibility consultant Leonie Watson offers a quick demo of exactly how ARIA's Landmark Roles make life easier for people browsing with assistive technologies.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><iframe width="580" height="435" src="http://www.youtube.com/embed/IhWMou12_Vk" frameborder="0" allowfullscreen></iframe></p>
<p>We&#8217;ve written a lot about how you can <a href="http://www.webmonkey.com/2010/11/can-wai-aria-build-a-more-accessible-web/">make your website more accessible</a> with WAI ARIA roles, particularly ARIA&#8217;s Landmark roles. As a bonus you can also <a href="http://www.webmonkey.com/2011/01/styling-webpages-with-arias-landmark-roles/">use the roles to style elements</a>.</p>
<p>Hopefully you&#8217;re using ARIA roles given that they&#8217;re such a simple, easy win with pretty much no downside, but have you ever wondered exactly how ARIA roles help people using assistive devices? In the video above accessibility consultant Leonie Watson gives a quick demo of exactly <a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=IhWMou12_Vk">how screen readers benefit from landmark roles</a>.</p>
<p>If you&#8217;re sold be sure to read up on our earlier coverage, including <a href="http://www.webmonkey.com/2011/11/wai-aria-gets-ready-for-a-starring-role-in-html5/">this post</a> on how to add landmark roles to your site. The site Watson mentions in the video is also a <a href="http://www.nomensa.com/blog/2010/wai-aria-document-landmark-roles/">great ARIA resource</a>. Also have a look at accessibility guru Steve Faulkner&#8217;s <a href="http://www.paciellogroup.com/blog/2013/02/using-wai-aria-landmarks-2013/">recent post</a> over on the The Paciello Group blog. </p>
<p>And note that, as Faulkner writes, &#8220;over time the necessity of explicitly assigning landmarks will lessen as browsers build in ARIA landmark roles to newer HTML element semantics.&#8221; For now though, even if you&#8217;re already using the new elements, it doesn&#8217;t hurt to add the roles as well.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/video-how-arias-landmark-roles-work/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Improve Your Website&#8217;s Accessibility With the W3C&#8217;s &#8216;Guide to Using ARIA&#8217;</title>
        <link>http://www.webmonkey.com/2013/02/improve-your-websites-accessibility-with-the-w3cs-guide-to-using-aria/</link>
        <comments>http://www.webmonkey.com/2013/02/improve-your-websites-accessibility-with-the-w3cs-guide-to-using-aria/#comments</comments>
        <pubDate>Thu, 14 Feb 2013 21:40:40 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60925</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
        <description><![CDATA[WAI-ARIA, the W3C&#8217;s specification for Accessible Rich Internet Applications, provides web developers with a means of annotating page elements with the roles, properties, and states that define exactly what those elements do. The added definitions help screen readers and other assistive devices navigate through your website. We&#8217;ve looked at how you can use ARIA roles [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2011/01/masks.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2011/01/masks.jpg" alt="" title="masks" width="300" height="233" class="alignleft size-full wp-image-49543" /></a>WAI-ARIA, the W3C&#8217;s specification for <a href="http://www.w3.org/WAI/PF/aria/">Accessible Rich Internet Applications</a>, provides web developers with a means of annotating page elements with the roles, properties, and states that define exactly what those elements do. The added definitions help screen readers and other assistive devices navigate through your website.</p>
<p>We&#8217;ve looked at how you can use ARIA roles to not just <a href="http://www.webmonkey.com/2011/11/wai-aria-gets-ready-for-a-starring-role-in-html5/">improve your site&#8217;s accessibility</a>, but <a href="http://www.webmonkey.com/2011/01/styling-webpages-with-arias-landmark-roles/">style elements</a> as well, but now you can get the official word from the W3C. The W3C has <a href="http://www.w3.org/News/2013.html#entry-9721">published</a> the First Public Working Draft of <a href="http://www.w3.org/TR/2013/WD-aria-in-html-20130214/">Using WAI-ARIA in HTML</a>. </p>
<p>The W3C&#8217;s guide goes beyond the ARIA Landmark Roles that we&#8217;ve covered in the past, offering suggestions on how ARIA can help with HTML5 apps that load dynamic content or build entire interfaces with JavaScript. In fact, this is where the true power of ARIA comes into play since there is often no other way for assistive devices to get at your application&#8217;s data.</p>
<p>Unfortunately not everything in the ARIA spec works in every screen reader. Support for the landmark roles is <a href="http://www.html5accessibility.com/tests/landmarks.html">pretty solid</a>, but much of the rest remains a work in progress. As always there&#8217;s no substitute for real world testing. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/improve-your-websites-accessibility-with-the-w3cs-guide-to-using-aria/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>DRM for the Web? Say It Ain&#8217;t So</title>
        <link>http://www.webmonkey.com/2013/02/drm-for-the-web-say-it-aint-so/</link>
        <comments>http://www.webmonkey.com/2013/02/drm-for-the-web-say-it-aint-so/#comments</comments>
        <pubDate>Tue, 12 Feb 2013 16:20:13 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60899</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[DRM]]></category>
		<category><![CDATA[video]]></category>
        <description><![CDATA[So far it still ain't so, but the W3C's HTML Working Group will indeed be considering the Encrypted Media Extensions proposal, an effort to bring locked down, DRM media to the web. ]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2011/10/html5logo.jpg" />So far it ain&#8217;t so, but some form of DRM in HTML is becoming a more likely possibility every day. </p>
<p>The W3C&#8217;s HTML Working Group <a href="http://lists.w3.org/Archives/Public/public-html-admin/2013Feb/0122.html">recently decided</a> that a proposal to add DRM to HTML media elements &#8212; formally known as the <a href="https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media-fpwd.html">Encrypted Media Extensions proposal</a> &#8212; is indeed within its purview and the group will be working on it.</p>
<p>That doesn&#8217;t mean that the Encrypted Media Extensions proposal will become a standard as is, but it does up the chances that some sort of DRM system will make its way into HTML. </p>
<p>The Encrypted Media Extensions proposal &#8212; which is backed by the likes of Google, Microsoft, Netflix and dozens of other media giants &#8212; technically does not add DRM to HTML. Instead it defines a framework for bringing a DRM system, or &#8220;protected media content&#8221; as the current draft puts it, to the web.</p>
<p>If you think the idea of DRM seems antithetical to the inherently open nature of HTML, you&#8217;re not alone. Ian Hickson, former editor of the W3C&#8217;s HTML spec, has called the Encrypted Media Extensions proposal &#8220;unethical.&#8221; Hickson is no longer in charge of the W3C&#8217;s HTML spec, but HTML WG member Manu Sporny, has already <a href="http://manu.sporny.org/2013/drm-in-html5/">asked the WG not to publish the first working draft</a> because the &#8220;specification does not solve the problem the authors are attempting to solve.&#8221;</p>
<p>There are numerous problems with the Encrypted Media Extensions proposal, including the basic fact that, historically, <a href="http://www.defectivebydesign.org/">DRM doesn&#8217;t work</a>. </p>
<p>Other problems specific to the current draft of the proposal include the fact that it might well be <a href="http://www.webmonkey.com/2012/02/html-editor-calls-html5-video-copy-protection-proposal-unethical/">impossible for open source web browsers to implement</a> without relying on closed source components. Then there are the gaping security flaws that would make it trivially easy to defeat the currently defined system. </p>
<p>But Sporny raises a far more ominous objection &#8212; that the proposal in its current form does not actually define a DRM system. Instead it proposes a common API, which would most likely lead to a proliferation of DRM plugins. Here&#8217;s <a href="http://www.webmonkey.com/2012/02/html-editor-calls-html5-video-copy-protection-proposal-unethical/">Sporny&#8217;s take</a>:</p>
<blockquote>
<p>The EME specification does not specify a DRM scheme in the specification, rather it explains the architecture for a DRM plug-in mechanism. This will lead to plug-in proliferation on the Web. Plugins are something that are detrimental to inter-operability because it is inevitable that the DRM plugin vendors will not be able to support all platforms at all times. So, some people will be able to view content, others will not.</p>
</blockquote>
<p>That sounds a lot like the bad old days when you needed Flash, Real Player, Windows Media Player and dozens of other little plugins installed just to watch a video. </p>
<p>That&#8217;s a web no user wants to return to. </p>
<p>At the same time there continue to be companies which <a href="http://lists.w3.org/Archives/Public/public-html-admin/2013Feb/0153.html">believe DRM is essential to their bottom line</a> and the web offers no solution. That&#8217;s why Flash, Silverlight and other DRM-friendly plugins remain the media players of choice for many content providers.</p>
<p>So the question of DRM on the web boils down to this: should the W3C continue to work on a spec that defines some kind of DRM system or should the interested companies go off and do their own work? For its part the W3C clearly wants to be part of the process, though it remains unclear what, if any, value a standards-based DRM system might have for web users.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/drm-for-the-web-say-it-aint-so/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Turn Your Browser into a Notepad With a Single Line of HTML5</title>
        <link>http://www.webmonkey.com/2013/02/turn-your-browser-into-a-notepad-with-a-single-line-of-html5/</link>
        <comments>http://www.webmonkey.com/2013/02/turn-your-browser-into-a-notepad-with-a-single-line-of-html5/#comments</comments>
        <pubDate>Fri, 01 Feb 2013 21:38:16 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60776</guid>
        		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[cool hacks]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/snoopytext-200x100.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/snoopytext.png" alt="Turn Your Browser into a Notepad With a Single Line of HTML5" /></div>It's not the most useful tool since you can't easily save your work, but this single line of HTML5 code certainly is clever.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_60778" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/snoopytext.png"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/snoopytext.png" alt="" title="snoopytext" width="580" height="365" class="size-full wp-image-60778" /></a><p class="wp-caption-text">Finally, an editor so simple even Snoopy won&#8217;t get distracted. <em>Image: Webmonkey</em></p></div>If you ever need a quick scratchpad to just write, not save what you write, but just write, you can quickly turn your web browser into an ultra-basic notepad with a single line of HTML. </p>
<p>This <a href="https://coderwall.com/p/lhsrcq">clever trick</a> comes from developer Jose Jesus Perez Aguinaga who says that &#8220;sometimes I just need to type garbage. Just to clear out my mind. Since I live in the browser, I just open a new tab and type&#8221;:</p>
<pre class="brush: js">
data:text/html, &lt;html contenteditable&gt;
</pre>
<p>Thanks to the HTML5 <a href="http://blog.whatwg.org/the-road-to-html-5-contenteditable"><code>contenteditable</code></a> attribute and the modern browser&#8217;s ability to <a href="http://www.nczonline.net/blog/2009/10/27/data-uris-explained/">handle data URIs</a>, your browser is now a notepad &#8212; just click to type. </p>
<p>Of course there&#8217;s no easy way to save your work, so while this is probably the most minimal editor you could hope for, it isn&#8217;t the most practical for actual work. Still a great trick though. Check out the comments on Aguinaga&#8217;s post and on this <a href="https://news.ycombinator.com/item?id=5135194">Hacker News thread</a> for some enhancements to the basic idea (like what I used for the screenshot above)  and a Chrome extension.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/turn-your-browser-into-a-notepad-with-a-single-line-of-html5/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Microsoft Simplifies Internet Explorer Testing With &#8216;Modern.IE&#8217;</title>
        <link>http://www.webmonkey.com/2013/01/microsoft-simplifies-internet-explorer-testing-with-modern-ie/</link>
        <comments>http://www.webmonkey.com/2013/01/microsoft-simplifies-internet-explorer-testing-with-modern-ie/#comments</comments>
        <pubDate>Thu, 31 Jan 2013 16:50:55 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60766</guid>
        		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[IE]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/iehtml5-200x100.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/iehtml5.png" alt="Microsoft Simplifies Internet Explorer Testing With &#8216;Modern.IE&#8217;" /></div>Microsoft has launched Modern.IE, a new website to help developers with the sometimes arduous task of getting websites to work in older versions of Internet Explorer. ]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_60767" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/iehtml5.png"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/iehtml5.png" alt="" title="iehtml5" width="580" height="207" class="size-full wp-image-60767" /></a><p class="wp-caption-text"><em>Image: Screenshot/Webmonkey</em>.</p></div>Microsoft has launched a new site, <a href="http://www.modern.ie/">Modern.IE</a>, aimed at simplifying the sometimes arduous process of getting websites to work in older versions of the company&#8217;s Internet Explorer web browser. The new site also serves to promote web standards and help developers avoid mistakes like only supporting WebKit browsers, roughly the modern equivalent of the regrettable &#8220;works best in IE6&#8243; websites of 2001.</p>
<p>Modern.IE consists of three main tools &#8212; a <a href="http://www.modern.ie/report">site scanner</a> that will look at your code and detect potential problems for older versions of IE, a <a href="http://www.modern.ie/virtualization-tools">cross-browser testing tool</a> (part of a partnership with <a href="http://www.browserstack.com/">BrowserStack</a>) and a set of guidelines for building sites with web standards.</p>
<p>The most useful of the bunch is the first, the site scanner. Plug your URL into the scanner and it will come back with a list of possible compatibility problems, some unique to older versions of IE, some more general, like outdated JavaScript libraries. Like other tools of this sort &#8212; think Yahoo&#8217;s YSlow, but here the emphasis is cross-browser compatibility rather than speed &#8212; Modern.IE then offers suggestions for fixing the problem.</p>
<p>Or at least usually it does. In some cases it will apparently tell you to get in touch with Microsoft engineers instead for what Microsoft&#8217;s  Ryan Gavin <a href="http://blogs.windows.com/ie/b/ie/archive/2013/01/31/introducing-modern-ie-testing-sites-for-internet-explorer-made-easier.aspx">calls</a> &#8220;security and privacy reasons.&#8221; It&#8217;s also worth noting that Modern.IE still suggests running your site through <a href="https://ie.microsoft.com/testdrive/HTML5/CompatInspector/help/post.htm">Compat Inspector</a>, and of course, while Modern.IE is handy for catching larger issues it&#8217;s no substitute for actual cross-browser testing.</p>
<p>Microsoft has also included two suggestions that may irritate some developers &#8212; adding two snippets of Microsoft-specific code. The first is pretty innocuous, it&#8217;s just a bit of code to set an image so users can add your site to the new Windows 8 home screen with a &#8220;tile.&#8221; Yes, it&#8217;s Microsoft-specific code, but the Win 8 home screen images are no different than the Apple-specific <code>apple-touch-icon</code> code that&#8217;s probably on your site right now. The second suggestion is to add a bit of CSS to support Microsoft&#8217;s <a href="http://www.w3.org/Submission/2012/03/">proposed MSPointers API</a>. The MSPointers API actually looks quite useful, but suggesting developers use it now smacks of hypocrisy given that elsewhere on the site Microsoft suggests that developers stick to &#8220;stable standards.&#8221; The MSPointers API isn&#8217;t a standard at all, let alone stable.</p>
<p>The second major part of Modern.IE is Microsoft&#8217;s partnership with BrowserStack, a service that offers live, web-based browser testing through virtual machines. As part of the partnership you can use BrowserStack free for three months. After that BrowserStack&#8217;s <a href="http://www.browserstack.com/pricing">regular pricing</a> starts at $20/month for individuals.</p>
<p>Microsoft has also put together &#8220;back level versions of Windows and Internet Explorer&#8221; as virtual machine images so you can do your more thorough testing locally if you prefer. That means Windows XP, Windows Vista and Windows 7 operating systems with their companion browser versions IE6, 7, 8 and 9. At the moment there are only images available for Windows Server, but a Microsoft representative tells Webmonkey that VMs for Mac And Linux will be available later today.</p>
<p>The last part of Modern.IE is the &#8220;<a href="http://www.modern.ie/cross-browser-best-practices">code with standards</a>&#8221; section which offers an article on &#8220;20 tips for building modern sites while supporting old versions of IE.&#8221; Most of the advice is sound, though it does advocate for a conservative approach to web standards that&#8217;s not necessarily in keeping with the pace of the web.</p>
<p>That last aspect may put some developers off, though it&#8217;s worth noting that the Modern.IE site does not adhere to its own conservative approach. Instead the site does exactly what most savvy developers are already doing &#8212; using HTML5 and CSS 3, but including Modernizer to help make the site work in older versions of IE. </p>
<p>While the site is obviously geared specifically to toward developers that need to get their sites working in older versions of IE, most of the advice &#8212; particularly the emphasis on progressive enhancement &#8212; is sound advice for anyone building websites today. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/microsoft-simplifies-internet-explorer-testing-with-modern-ie/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Skip the Lists for a More Accessible Web</title>
        <link>http://www.webmonkey.com/2013/01/html-basics-do-menus-need-list-tags/</link>
        <comments>http://www.webmonkey.com/2013/01/html-basics-do-menus-need-list-tags/#comments</comments>
        <pubDate>Wed, 30 Jan 2013 19:45:36 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60750</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Basics]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags-200x100.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags.png" alt="Skip the Lists for a More Accessible Web" /></div>Long ago it was decided that website menus shall be marked up with HTML list elements. But that was long ago; now we have the new elements in HTML5. Developer Chris Coyier argues its time to ditch the lists and simplify your menu code.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_60752" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags.png"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags.png" alt="" title="soupoftheday-tags" width="580" height="395" class="size-full wp-image-60752" /></a><p class="wp-caption-text">Soupe du jour: tags. <em>Image: <a href="https://secure.flickr.com/photos/clogozm/3863502019/">clogozm/Flickr</a></em></p></div>Somewhere far in the web&#8217;s primordial past it was decided that the best way to mark up a menu in HTML was to use the unordered list element: <code>&lt;ul&gt;</code>. The vast majority of tutorials &#8211; if not all &#8211; you&#8217;ll ever see for creating navigation menus use the familiar list element structure, nesting links inside <code>&lt;li&gt;</code> tags. Menu plugins for WordPress and other popular publishing systems use lists for menus as well. Even the HTML5 spec uses an unordered list in its <a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-nav-element"><code>&lt;nav&gt;</code> element examples</a>.</p>
<p>There is, as CSS-Tricks&#8217; Chris Coyier <a href="http://css-tricks.com/navigation-in-lists-to-be-or-not-to-be/">writes</a>, &#8220;no debate&#8221; about how menus should be marked up. But HTML5 adds the <code>&lt;nav&gt;</code> element and there&#8217;s also a <code>navigation</code> role in <a href="http://www.webmonkey.com/2011/01/styling-webpages-with-arias-landmark-roles/">WAI-ARIA</a> so should we still be using lists to mark up menus?</p>
<p>Coyier says no. He&#8217;s dropped lists from his <code>&lt;nav&gt;</code> elements and instead uses just links and span tags. Coyier cites a talk by Reinhard Stebner, who is blind, and suggests that with most screen readers the far better solution for menus is to use divs and spans for menus.</p>
<p>Be sure to read through Coyier&#8217;s post for some more data on why ditching the list might be a good idea and <a href="http://jimdoran.net/joy/webdesign/refresh-web-accessibility">check out Jim Doran&#8217;s write up on Stebner&#8217;s original talk</a>, which makes a distinction between <em>accessible</em> and <em>usable</em>. That is, a technically &#8220;accessible&#8221; site might still be a usability nightmare for some users.</p>
<p>However, as Mozilla&#8217;s Chris Heilmann points out in the comments of Coyier&#8217;s post, the problems lists cause in some screen readers are really a result of the sorry state of screen readers. &#8220;Screen readers are damn slow to update and vary immensely between different versions… I gave up a long time ago calling something accessible or not when it works in Jaws.&#8221;</p>
<p>Lists for menus have advantages over the div and span route, like some extra elements for styling and the fact that they render as, well, lists even in the absence of CSS.</p>
<p>What do you think? Are lists for menus a legacy workaround we no longer need in the day and age of <code>&lt;nav&gt;</code> and <code>role=&quot;navigation&quot;</code>? Or do they still offer enough advantages to keep using for menus?</p>
<p>For his part Coyier says he&#8217;s going to keep building list-free menus. &#8220;Until I see some solid research that suggests that&#8217;s dumb, I&#8217;m sticking to it,&#8221; he writes. &#8220;As always, the best would be to get more information from real screen reader users like Reinhard.&#8221;</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/html-basics-do-menus-need-list-tags/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Mozilla Brings Native H.264 Video to Desktop Firefox [Updated]</title>
        <link>http://www.webmonkey.com/2013/01/mozilla-brings-native-h-264-to-firefox-nightly/</link>
        <comments>http://www.webmonkey.com/2013/01/mozilla-brings-native-h-264-to-firefox-nightly/#comments</comments>
        <pubDate>Wed, 23 Jan 2013 16:37:19 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60638</guid>
        		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[H.264]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/ffnightlydownloadswin-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/ffnightlydownloadswin.jpg" alt="Mozilla Brings Native H.264 Video to Desktop Firefox [Updated]" /></div>Mozilla has enabled experimental support for the H.264 video codec in the latest nightly builds of Firefox. When it arrives in final form later this year Firefox users will no longer need the Flash plugin to watch H.264 video. What's more, H.264 will offer web developers a one-size fits all video solution that works across every major platform, desktop and mobile. ]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_60641" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/h264videoFF.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/h264videoFF.jpg" alt="" title="h264videoFF" width="580" height="341" class="size-full wp-image-60641" /></a><p class="wp-caption-text">Look Ma, H.264 video in Firefox, no Flash necessary. <em>Image: Screenshot/Webmonkey</em>.</p></div>
<p>The latest nightly builds of desktop Firefox now <a href="https://hacks.mozilla.org/2013/01/firefox-development-highlights-h-264-mp3-support-on-windows-scoped-stylesheets-more/">support the ubiquitous H.264 video and MP3 codecs</a>. When the current Firefox Nightly arrives in final form later this year, Firefox users will no longer need the Flash plugin to play H.264 web video in Firefox.</p>
<p>Firefox for Android and Firefox OS <a href="http://www.webmonkey.com/2012/11/firefox-for-android-now-with-video-that-just-works/">already support H.264 and MP3</a>, but on the desktop the new H.264 support is, thus far, only available in the Windows 7 Nightly release. </p>
<p>You can grab the latest version of Firefox Nightly from the <a href="http://nightly.mozilla.org/">Nightly downloads page</a>. Once installed head to <code>about:config</code> and turn on the preference <code>media.windows-media-foundation.enabled</code>. </p>
<p>Mozilla long opposed supporting the H.264 codec because it&#8217;s patent-encumbered and requires licensing fees. For better or worse it&#8217;s also the most popular codec for HTML5 video on the web, which drove Mozilla to <a href="http://www.webmonkey.com/2012/10/mozilla-plans-h-264-video-for-desktop-firefox/">take the pragmatic approach and add support to Firefox</a>. Instead of including the codec directly in Firefox, the browser will rely on OS-level tools to play H.264 video. </p>
<p>Eventually all platforms except Windows XP will get OS-native codec support for H.264 video. Windows XP, which lacks OS-level tools for H.264, will continue to use the Flash plugin to play H.264 movies.</p>
<p>Even if you&#8217;re not a Windows 7 user there are still a few new tricks in Firefox Nightly, including a revamped downloads panel that&#8217;s no longer a separate window (and which bears more than a passing resemblance to what you&#8217;ll find in Safari 6) and support for the new <a href="http://www.webmonkey.com/2012/04/html5-offers-scoped-css-for-precision-styling/">CSS scoped style attribute</a>.</p>
<p>[<b>Update</b>: As BWRic points out in the comments below the new downloads window/panel design was actually a Firefox innovation that the Safari team got around to implementing first. You can check out former Firefox UX Lead Alex Limi's <a href="http://limi.net/articles/improving-download-behaviors-web-browsers">original sketches of the overlay window</a> on his blog as well as a follow up post when <a href="">Safari revealed its take on the design</a>. It's worth noting that Limi's sketches have a nice progress bar in the icon (which Safari adopted as well), which is missing from the current Firefox implementation.]</p>
<div id="attachment_60642" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/ffnightlydownloadswin.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/ffnightlydownloadswin.jpg" alt="" title="ffnightlydownloadswin" width="580" height="267" class="size-full wp-image-60642" /></a><p class="wp-caption-text">Firefox&#8217;s coming Safari-style downloads window. <em>Image: Screenshot/Webmonkey</em>.</p></div>
<p>For more on what else is coming in future versions of Firefox, check out the Mozilla blog&#8217;s <a href="https://hacks.mozilla.org/category/bleeding-edge/">Bleeding Edge</a> and <a href="https://hacks.mozilla.org/category/firefox/firefox-development-highlights/">Firefox Development Highlights</a> series.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/mozilla-brings-native-h-264-to-firefox-nightly/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>
