amiel/html5support — pull request #6 by dgornstein (2012-09-13 16:13:07+00:00)
Title: Changing Jquery Selector for autofocus

Amiel,

Right now when selecting which autofocus field to focus on, it could potentially focus on a hidden object.

In some cases, people will have multiple forms on a page, with multiple autofocus fields, but some forms may be hidden.

I can never see an instance where you would want to focus on a hidden field, and I believe adding the visible selector will benefit everyone.

Please let me know what you think.

Regards,
Daniel Gornstein