Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overlay plugin: Added space key support for overlay links.
Since overlay links are coded with a role="button" attribute, they should function like buttons. Therefore, when an overlay link has focus, it should be possible to press a keyboard's space key to activate it and open its overlay. That previously wasn't happening since overlay links weren't associated to any keyboard event handlers. This commit addresses it by adding "keydown" alongside the overlay link's pre-existing click handlers and restricting it to the space key.
- Loading branch information