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 21623 - 7.5.2 The accesskey attribute: Comment regarding its usage on "All" HTML elements
Summary: 7.5.2 The accesskey attribute: Comment regarding its usage on "All" HTML elem...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Robin Berjon
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2013-04-08 14:01 UTC by Devarshi Pant
Modified: 2013-06-11 10:57 UTC (History)
5 users (show)

See Also:


Attachments

Description Devarshi Pant 2013-04-08 14:01:29 UTC
Note the statement: "All HTML elements may have the accesskey content attribute set. The accesskey attribute's value is used by the user agent as a guide for creating a keyboard shortcut that activates or focuses the element."
Based on this statement, it seems like an html header may have an access key attribute set on it. If that is possible, can there be an example included in the spec?
Reference: http://www.w3.org/html/wg/drafts/html/master/editing.html#the-accesskey-attribute

-Devarshi
Comment 1 Robin Berjon 2013-06-11 10:57:09 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: (Rejected
Change Description: none
Rationale:
The text is correct, you may put @accesskey on any HTML element - it's valid content. But it won't always do something, as indicated a little bit below that text:

"""
When the user presses the key combination corresponding to the assigned access key for an element, if the element defines a command, the command's Hidden State facet is false (visible), the command's Disabled State facet is also false (enabled), the element is in a Document that has an associated browsing context, and neither the element nor any of its ancestors has a hidden attribute specified, then the user agent must trigger the Action of the command.
"""