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 29600 - Focus and Keyboard Interaction with details and summary
Summary: Focus and Keyboard Interaction with details and summary
Status: RESOLVED INVALID
Alias: None
Product: ARIA
Classification: Unclassified
Component: HTML AAM (show other bugs)
Version: 1.0
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 08:28 UTC by Julie Jeongeun Kim
Modified: 2018-05-03 21:20 UTC (History)
2 users (show)

See Also:


Attachments

Description Julie Jeongeun Kim 2016-04-28 08:28:00 UTC
I think aria spec and html spec are inconsistent.

http://w3c.github.io/aria/html-aam/html-aam.html#summary-and-details-elements
"6.1 summary and details Elements
6.1.1 Focus and Keyboard Interaction

The summary element should be focusable by default.

The details element should not focusable by default.

Pressing the spacebar or enter key when the summary element has focus will show the details element content if the content is hidden. If the details element content is showing and the summary element has focus, pressing the spacebar or enter key will hide the details element content."

https://html.spec.whatwg.org/multipage/dom.html#interactive-content
"3.2.4.2.7 Interactive content

Interactive content is content that is specifically intended for user interaction.

    a (if the href attribute is present)audio (if the controls attribute is present)buttondetailsembediframeimg (if the usemap attribute is present)input (if the type attribute is not in the Hidden state)keygenlabelobject (if the usemap attribute is present)selecttextareavideo (if the controls attribute is present)

The tabindex attribute can also make any element into interactive content."

ARIA spec says that summary element should be focusable but HTML spec says that details element, not summary, is an interactive content.

I'm working on chromium AX as an external contributor, there is a bug report, https://bugs.chromium.org/p/chromium/issues/detail?id=389461#c6, related to event handling with details and summary elements.

Please take a look.
Comment 1 James Nurthen 2018-05-03 21:20:42 UTC
HTML AAM is no longer an ARIA Deliverable. If you wish to pursue this issue please file at https://github.com/w3c/html-aam/issues