Skip to content
Snippets Groups Projects

Issue #3498736 by mably: Replace unrequired tabindex=0 by tabindex=-1 for heading focus

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -315,7 +315,7 @@
@@ -315,7 +315,7 @@
// If specified, allow heading to take focus.
// If specified, allow heading to take focus.
if (opts.headingFocus) {
if (opts.headingFocus) {
heading.tabIndex = 0;
heading.tabIndex = -1;
}
}
// Apply scroll offset.
// Apply scroll offset.
Loading