Scroll Mode
Scroll mode enables users to cycle through different scrollable regions within the viewport using keyboard shortcuts.
How to Use Scroll Mode
First, initialize OpenKeyNav on the page.
const openKeyNav = new OpenKeyNav();
openKeyNav.init();
To activate scroll mode, press the s
key. This will focus on the next scrollable region within the viewport. You can use shift
+ s
to focus on the previous scrollable region.
Using scroll mode, users can efficiently navigate through different scrollable regions on your website, enhancing their browsing experience.
info
Turn OpenKeyNav on
After the page loads, press Shift + o
to turn OpenKeyNav on/off. To avoid accidental activation, OpenKeyNav's shortcuts are disabled by default, in compliance with WCAG Success Criterion 2.1.4 character key shortcuts.