Commit 51a7c2ef authored by catch's avatar catch

Issue #2574917 by andrewmacpherson, googletorp: Regression: vertical tabs are...

Issue #2574917 by andrewmacpherson, googletorp: Regression: vertical tabs are not keyboard accessible
parent 08f9c8d8
......@@ -120,8 +120,8 @@
// Keyboard events added:
// Pressing the Enter key will open the tab pane.
this.link.on('keydown', function (event) {
event.preventDefault();
if (event.keyCode === 13) {
event.preventDefault();
self.focus();
// Set focus on the first input field of the visible details/tab pane.
$(".vertical-tabs__pane :input:visible:enabled").eq(0).trigger('focus');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment