This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24124 - extend autofocus support to all focusable elements
Summary: extend autofocus support to all focusable elements
Status: RESOLVED DUPLICATE of bug 13942
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 10:50 UTC by Giorgio
Modified: 2013-12-17 11:21 UTC (History)
4 users (show)

See Also:


Attachments

Description Giorgio 2013-12-17 10:50:29 UTC
use cases are plenty, for example

give focus automatically to an element for keyboard scrolling navigation

<div tabindex="0" autofocus style="overflow:auto;">

or give auto focus to an <a> element

or to a <div> with contentEditable mode enabled
Comment 1 Leif Halvard Silli 2013-12-17 11:21:20 UTC

*** This bug has been marked as a duplicate of bug 13942 ***