Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
toc_js
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
toc_js
Merge requests
!36
Issue
#3498736
by mably: Replace unrequired tabindex=0 by tabindex=-1 for heading focus
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3498736
by mably: Replace unrequired tabindex=0 by tabindex=-1 for heading focus
issue/toc_js-3498736:3498736-replace-unrequired-tabindex0
into
3.0.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Frank Mably
requested to merge
issue/toc_js-3498736:3498736-replace-unrequired-tabindex0
into
3.0.x
5 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#3498736
0
0
Merge request reports
Compare
3.0.x
3.0.x (base)
and
latest version
latest version
02c4b5f3
1 commit,
5 months ago
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
assets/js/tocjs.js
+
1
−
1
Options
@@ -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