Skip to content

Commit

Permalink
Reserve up and down arrows for scrolling the page
Browse files Browse the repository at this point in the history
  • Loading branch information
dotherightthing committed Jan 1, 2021
1 parent d26a396 commit 4b7ca9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/_tabbed-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ class TabbedCarousel {
// Right Arrow: Moves focus to the next tab.
// See also infiniteNavigation
// See: https://www.w3.org/TR/wai-aria-practices/#tabpanel
focusNext: [ 'ArrowRight', 'ArrowDown' ],
focusNext: [ 'ArrowRight' ],

// Left Arrow: moves focus to the previous tab.
// See also infiniteNavigation
// See: https://www.w3.org/TR/wai-aria-practices/#tabpanel
focusPrevious: [ 'ArrowLeft', 'ArrowUp' ],
focusPrevious: [ 'ArrowLeft' ],

// Space or Enter: Activates the tab if it was not activated automatically on focus.
// See: https://www.w3.org/TR/wai-aria-practices/#tabpanel
Expand Down

0 comments on commit 4b7ca9d

Please sign in to comment.