Thank you for reaching out to us. Could you please share more details about the issue, such as where you’re facing it? any screenshot of the issue would be helpful for us to investigate further.
I can confirm this issue (incorrect use of link on the TOC open/close toggle), as reported by the Accessibility Checker plugin.
An Improper Use of Link error appears if you have links that are missing an href attribute or are only linked to a #, and do not have role="button" on them. Links should be used to direct people to other parts of your site. Any other functionality that triggers an action should be a button. To resolve this error you need to recode the link to use a <button> tag (preferable) or add role="button" to the existing <a> tag. If the element is a toggle button (such as an accordion), additional ARIA attributes are required.
Thanks for the update. It’s a shame that this small change hasn’t been made yet. Now I have to manually adjust it on all pages again. It would be nice if this were fixed in the next update. It doesn’t really take that long.
Since the problem has not yet been resolved, the line numbers have changed as a result of previous updates. Therefore, the correct line numbers and corresponding adjustments are listed below.