<p>Dive Into HTML5 explains the problems with script-based autofocus and provides a polyfill:</p>

<p><a href="http://diveintohtml5.info/forms.html#autofocus">http://diveintohtml5.info/forms.html#autofocus</a></p>

            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              —<br>
              Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/175#issuecomment-11293255'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_kZ0nsCNrGeIi2yKjbKtkvk.gif' height='1' width='1'>