Skip to content

Commit 47cc13f

Browse files
author
bozdoz
committed
Merge branch 'fix_keyboard_a11y_step_bullets' of https://github.com/nelsonwong1012/intro.js into nelsonwong1012-fix_keyboard_a11y_step_bullets
Conflicts: intro.js
2 parents bb0968c + 75f7dd7 commit 47cc13f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

intro.js

Lines changed: 3 additions & 0 deletions
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)