Open Bug 1230387 Opened 5 years ago Updated 2 years ago
Disabled/hidden/no-display element's access key blocks identical access key
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 Build ID: 20151103191810 Steps to reproduce: Please see attached bugReport.html Load this file. Read content and follow the instructions: Click Ctrl+Shift+A Comment out the line: //disabled.accessKey = "A"; Again, Ctrl+Shift+A Actual results: In first case (unmodified file), nothing happens. When a line is commented out, alert shows 'Second button: working!' Expected results: The button click event should be invoked in all cases. First button is disabled, hidden or collapsed, and not even displayed: disabled.style.display = "none"; When an access key ('A') is set, the same access key should operate on second (visible enabled) button -- because the button "disabled" does not use it at the moment.
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.