[Q] Why skip keyboard processing on alt-key?
See original GitHub issueMaking issue because @robdodson looped in @alice:
Looking at the JS implementation of OAA’s tab panel they are skipping their keyboard processing code when the alt key is pressed. Any idea why that is?
tabpanel.prototype.handleTabKeyPress = function($tab, e) {
if (e.altKey) {
// do nothing
return true;
}
switch (e.keyCode) {
// ...
}
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
My Desktop thinks the ALT key is always pressed.
My desktop thinks that the ALT keys is always pressed. Sometimes it is continuosly pressed and sometimes it is pressed rapidly maybe one...
Read more >Tech Savvy Tips and Tricks: Keyboard Shortcuts
Option+left arrow: Skip to the beginning of the previous word. You can press the left arrow multiple times to skip several words. Shift+Option+right...
Read more >Alt key: basics and important key combinations - IONOS
Shortcut keys make frequently used functions faster. In this article, you'll find an overview of the most important Alt key shortcuts.
Read more >Keyboard Differences - Switching to the Mac - O'Reilly
Mac and PC keyboards are subtly different. Making the switch involves two big adjustments: figuring out where the special Windows keys went (like...
Read more >24 Hidden and Overlooked Premiere Pro Keyboard Shortcuts
Editing shortcuts · Select at playhead: D · Select next clip: Ctrl+Up/Down · Select edit points: Ctrl+Lasso · Ripple Trim: W and Q...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Makes sense - if someone is using the Alt key they’re probably using a keyboard shortcut for something else. e.g. JAWS uses Alt+up/down arrow to read previous/next sentence.
@notwaldorf I meant the more nuanced version of course. I meant “add it to all the elements where necessary”. oops 🙄