manual: add a hidden-aria=true attribute

master
Florian Angeletti 2019-12-05 17:14:10 +01:00
parent 345cfb6a98
commit b4abe25ae8
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
%hevea book class with anchor links in headers
\input{bookcommon.hva}
\newcommand{\@book@attr}[1]{\@secid\envclass@attr{#1}}
\newcommand{\@titlesecanchor}{\@open{a}{class="section-anchor" href="\#\@sec@id@attr"}\@print@u{xfeff}\@close{a}}
\newcommand{\@titlesecanchor}{\@open{a}{class="section-anchor" href="\#\@sec@id@attr" aria-hidden="true"}\@print@u{xfeff}\@close{a}}
\@makesection
{\part}{-2}{part}
{\@opencell{class="center"}{}{}\@open{h1}{\@book@attr{part}}}%