From 6f8bee56e6210946b9dc193baae818383ab187a6 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 3 May 2022 18:31:20 +0200 Subject: Title with tabindex --- src/build/to-html.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/build/to-html.mjs b/src/build/to-html.mjs index d8c3a84..a418b1f 100644 --- a/src/build/to-html.mjs +++ b/src/build/to-html.mjs @@ -11,15 +11,13 @@ import rehypeRaw from 'rehype-raw'; import rehypeAutolinkHeadings from 'rehype-autolink-headings'; import rehypeStringify from 'rehype-stringify'; import rehypeHighlight from 'rehype-highlight'; -import {h} from 'hastscript'; import remarkSpecialBox from './special_box.mjs'; import remarkRemoveFootnoteHeader from './remove-footnote-header.mjs'; const autoLinkOption = { behavior: 'wrap', properties: { - ariaHidden: true, - tabIndex: -1, + tabIndex: 0, className: 'anchor', }, }; -- cgit v1.2.3