W3C home > Mailing lists > Public > public-html-admin@w3.org > November 2013

[Bug 23870] New: FKA: No defined way to get keyboard focus into and out of a shadow DOM component

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 Nov 2013 00:37:48 +0000
To: public-html-admin@w3.org
Message-ID: <bug-23870-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23870

            Bug ID: 23870
           Summary: FKA: No defined way to get keyboard focus into and out
                    of a shadow DOM component
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: jcraig@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

FKA (full keyboard access): There is currently no defined way to get keyboard
focus into and out of a shadow DOM component. Some components (like the native
"number" input type) don't need this, but others (like native video controls)
need multiple tab stops inside the shadow DOM component.

For example: 

<input type="number"> 

Although there are multiple focusable elements inside (textfield, increment
button, and decrement button), all features can be controlled with standard
keyboard behavior. Focus stops on the input, and the increment/decrement
buttons are activate with up/down arrows.


<video controls>

There are multiple controls in the shadow DOM component, including volume/mute
buttons/sliders, a playback position slider, a cc toggle button and subtitle
picker menu, etc. There is currently no consistent way to control HTML 5 media
elements without using a mouse. 

I suggest that the specs provide a way for a web component to declare whether
it has a focusable sub-DOM, which should be the default for <video> and <audio>
sub-DOMs, and probably some input types like date and color.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 20 November 2013 00:37:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:35 UTC