Closed
Bug 1071553
Opened 10 years ago
Closed 10 years ago
Tab key should skip elements with "pointer-events: none"
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
INVALID
People
(Reporter: timwi, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140917194002 Steps to reproduce: The purpose of the Tab key is to navigate between elements on a webpage as a substitute for using the mouse to select and click on things. When a webpage author assigns the CSS property “pointer-events: none” to an element, they are signalling that the element cannot be selected or clicked on. More aptly, it means that the element is not available for navigation. Therefore, the Tab key should not set focus to such elements, but should skip over them.
Component: Untriaged → Keyboard Navigation
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 32 Branch → Trunk
Comment 1•10 years ago
|
||
I don't think there is a spec that implies this, and there *are* specs about how to deal with tab navigation, which involve using the tabindex attribute (setting it to -1 will mean the element gets taken out of the tab navigation order). I think this should be invalid/wontfix.
Component: DOM: Events → Keyboard: Navigation
Comment 2•10 years ago
|
||
I'm not aware of any spec which would require pointer-events: none; to cause tabindexing to be no-op. pointer-events: none; doesn't affect to focusability, but to hit testing.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•5 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•