Replace unrequired tabindex=0 by tabindex=-1 for heading focus

Created on 10 January 2025, 9 days ago

Problem/Motivation

Activating the heading focus feature of toc_js forces tabindex="0" on all targeted heading of the page.

This seems unnecessary and a tabindex="-1" should be enough.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇫🇷France mably

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024