[Webkit-unassigned] [Bug 152074] New: AX: HTML accesskeys should not be invoked for hidden elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 9 10:13:06 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=152074
Bug ID: 152074
Summary: AX: HTML accesskeys should not be invoked for hidden
elements
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: All
OS: All
Status: NEW
Severity: Minor
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bogdan.brinza at gmail.com
CC: webkit-bug-importer at group.apple.com
Found this issue while investigating accesskey interop, at this point there is no known live site impact.
What steps will reproduce the problem?
1. http://jsfiddle.net/x7tqnppy/
2. Try to trigger button with accesskey=2
In Edge and Firefox the button can be invoked only when it's not hidden, which is per spec behavior. In Safari (and Chrome on Mac for that matter) the button can be invoked at any moment regardless of hidden state.
http://www.w3.org/html/wg/drafts/html/master/editing.html#the-accesskey-attribute
"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."
https://html.spec.whatwg.org/multipage/forms.html#commands
User agents may expose the commands that match the following criteria:
⢠The Hidden State facet is false (visible)
⢠The element is in a Document that has an associated browsing context.
⢠Neither the element nor any of its ancestors has a hidden attribute specified.
⢠The element is not a menuitem element, or it is a child of a currently relevant menu element, or it has an Access Key.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151209/9d12b8dd/attachment.html>
More information about the webkit-unassigned
mailing list