W3C home > Mailing lists > Public > public-html@w3.org > July 2014

HTML focusable areas feedback

From: Travis Leithead <travis.leithead@microsoft.com>
Date: Fri, 11 Jul 2014 19:03:37 +0000
To: "public-html@w3.org" <public-html@w3.org>, "ian@hixie.ch" <ian@hixie.ch>
CC: Matt Rakow <marakow@microsoft.com>
Message-ID: <1ea56a98d03344b5863c99bfd0eb180e@BLUPR03MB344.namprd03.prod.outlook.com>
Re-posting this mail from Matt (MSFT):

Hi all,

I've been investigating keyboard scrolling for scrollable regions within a page (i.e. overflow:scroll) which omit tabIndex, and in particular how they interact with focus.  The current browser behaviors are highly non-interoperable with one another.  For example:

-IE allows scrollable elements without tabIndex to be focused via mouse click, but they cannot be tabbed to.

-FF allows scrollable elements without tabIndex to be focused via tabbing to them, but not by clicking on them.

-Chrome does not allow scrollable elements without tabIndex to be focused via any means, but they can still be scrolled with keyboard if you click on them first.

I was looking at the definition of focusable areas [1] and the tabindex focus flag [2].  These specify that scrollable elements are focusable, but not suggested to have their tabindex focus flag set or be tab-accessible.  This would imply that IE's behavior is currently compliant with the spec -- the element is focusable but not reachable by tabbing.

That said, I don't think this is great behavior.  This means that users without a pointing device are generally unable to target and scroll these regions using only the keyboard.  I'd like to see scrollable regions added to the list of suggested elements which have the tabindex focus flag set by default to enable this scenario better.  "Draggable" elements are already included in the list in a similar spirit.  IE would be willing to make a change to this behavior if other browser vendors will also make this change.



[1] http://www.w3.org/html/wg/drafts/html/master/editing.html#focusable-area

[2] http://www.w3.org/html/wg/drafts/html/master/editing.html#specially-focusable
Received on Friday, 11 July 2014 19:04:07 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:39 UTC