Skip to content

Commit 5d74f6a

Browse files
author
bozdoz
committed
Merge branch 'nelsonwong1012-fix_keyboard_a11y_step_bullets'
2 parents bb0968c + 47cc13f commit 5d74f6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

intro.js

+3
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@
331331
}
332332

333333
_exitIntro.call(this, this._targetElement);
334+
} else if (target && target.getAttribute('data-stepnumber')) {
335+
// user hit enter while focusing on step bullet
336+
target.click();
334337
} else {
335338
//default behavior for responding to enter
336339
_nextStep.call(this);

0 commit comments

Comments
 (0)