Skip to content

Commit

Permalink
FIX: Crocoblock/issues-tracker#7035
Browse files Browse the repository at this point in the history
Handle next/prev buttons only for radio role in Advanced Choices
  • Loading branch information
girafffee committed Feb 1, 2024
1 parent 90c0a4e commit 0793d4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ function ChoicesData() {
// for space
this.handleSpaceKey( event, node );

// next handlers only for role="radio"
if ( this.isArray() ) {
return;
}

// for next or up keys
this.handleNextKey( event, node );

Expand Down

0 comments on commit 0793d4e

Please sign in to comment.