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 23456 - <dialog>: showModal() should prevent ancestor elements with tabindex="" from getting focused
Summary: <dialog>: showModal() should prevent ancestor elements with tabindex="" from ...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on: 23366
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-08 00:20 UTC by Ian 'Hixie' Hickson
Modified: 2013-12-11 21:23 UTC (History)
6 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2013-10-08 00:20:21 UTC
Consider "<body tabindex="0"><dialog><input>", then call dialog.showModal(). Tab should focus the <input>, not the <body>.

Probably means changing how we define inertness and "blocked by a dialog".
Comment 1 alexander surkov 2013-10-08 13:14:49 UTC
is bug 23381 dupe of this one or are they in dependency?
Comment 2 Ian 'Hixie' Hickson 2013-10-09 22:21:54 UTC
Bug 23381 is on a different spec (the W3C fork).

Bug 23382 (the clone of 23381) is about editorial issues in the WHATWG spec.

This bug is about changing the normative definitions to prevent tabbing to inert ancestors.
Comment 3 contributor 2013-12-11 21:23:43 UTC
Checked in as WHATWG revision r8343.
Check-in comment: Make modal <dialog> ancestors inert too.
http://html5.org/tools/web-apps-tracker?from=8342&to=8343