W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2012

[Bug 16018] Exclude disabled form controls from specially focusable elements.

From: <bugzilla@jessica.w3.org>
Date: Fri, 17 Feb 2012 17:46:06 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RyRsk-0007km-0e@jessica.w3.org>

--- Comment #1 from Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu> 2012-02-17 17:46:05 UTC ---
This paragraph doesn't exclude disabled form controls that have tabindex
specified. In the following test case "onfocus" doesn't appear in IE9, Firefox
10, Safari 5 and Chromium 18

data:text/html,<!DOCTYPE html><textarea tabindex="0" disabled

(Opera12alpha is a bit special but that has nothing to do with 'tabindex'. It
fires the 'focus' event for disabled form controls when focus() is called,
which is not following the spec.)

I think in general this paragraph should exclude all elements :disabled
matches. Test case:

data:text/html,<!DOCTYPE html><fieldset disabled><textarea tabindex="0"

Firefox follows my expectable but IE9 and WebKit browsers don't. That's because
they don't implement 'disabled' on <fieldset>.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 17 February 2012 17:46:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:26 UTC