summaryrefslogtreecommitdiffstats
path: root/regress/mdoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-11 12:56:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-11 12:56:42 +0000
commit3b8011820928761c446895df4343ab1f0287aaf3 (patch)
tree003328617349dff51dc904eba46f01efabb305b1 /regress/mdoc
parenta322e942d511bf3b7f2db0bbbdd322d6f749a7e3 (diff)
downloadmandoc-3b8011820928761c446895df4343ab1f0287aaf3.tar.gz
Remove the HTML title= attributes which harmed accessibility and
violated the principle of separation of content and presentation. Instead, implement the tooltips purely in CSS. Thanks to John Gardner <gardnerjohng at gmail dot com> for suggesting most of the styling in the new ::before rules.
Diffstat (limited to 'regress/mdoc')
-rw-r--r--regress/mdoc/Rs/paragraph.out_html17
-rw-r--r--regress/mdoc/Sh/paragraph.out_html4
2 files changed, 10 insertions, 11 deletions
diff --git a/regress/mdoc/Rs/paragraph.out_html b/regress/mdoc/Rs/paragraph.out_html
index 19e9362c..ab2575e5 100644
--- a/regress/mdoc/Rs/paragraph.out_html
+++ b/regress/mdoc/Rs/paragraph.out_html
@@ -1,17 +1,16 @@
BEGINTEST
<br/>
-initial reference: <cite class="Rs" title="Rs"><span class="RsA">author
- name</span>, <i class="RsB">book title</i>.</cite>
-<p class="Pp">in a paragraph:
- <cite class="Rs" title="Rs"><span class="RsA">another author</span>,
- <i class="RsB">another book</i>.</cite></p>
-<h1 class="Sh" title="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+initial reference: <cite class="Rs"><span class="RsA">author name</span>,
+ <i class="RsB">book title</i>.</cite>
+<p class="Pp">in a paragraph: <cite class="Rs"><span class="RsA">another
+ author</span>, <i class="RsB">another book</i>.</cite></p>
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
initial reference:
-<p class="Pp"><cite class="Rs" title="Rs"><span class="RsA">author name</span>,
+<p class="Pp"><cite class="Rs"><span class="RsA">author name</span>,
<i class="RsB">book title</i>.</cite></p>
<p class="Pp">in a paragraph:</p>
-<p class="Pp"><cite class="Rs" title="Rs"><span class="RsA">another
- author</span>, <i class="RsB">another book</i>.</cite></p>
+<p class="Pp"><cite class="Rs"><span class="RsA">another author</span>,
+ <i class="RsB">another book</i>.</cite></p>
<pre>
ENDTEST
diff --git a/regress/mdoc/Sh/paragraph.out_html b/regress/mdoc/Sh/paragraph.out_html
index 3eeb9fe8..7d4f0d40 100644
--- a/regress/mdoc/Sh/paragraph.out_html
+++ b/regress/mdoc/Sh/paragraph.out_html
@@ -1,7 +1,7 @@
BEGINTEST
<p class="Pp">descriptive text</p>
-<h2 class="Ss" title="Ss" id="Subsection"><a class="permalink" href="#Subsection">Subsection</a></h2>
+<h2 class="Ss" id="Subsection"><a class="permalink" href="#Subsection">Subsection</a></h2>
initial subsection text
<p class="Pp">subsection paragraph</p>
-<h1 class="Sh" title="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
+<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
ENDTEST