aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress
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
commitee6f1de3309289a39aa90cae26282fb4774fb08a (patch)
tree389d4ad2803e128c8d58759fa9673cc923c4a211 /regress
parenta4e1608773e41b082d75ff2cbf2d56d12f5f02a1 (diff)
downloadmandoc-ee6f1de3309289a39aa90cae26282fb4774fb08a.tar.gz
mandoc-ee6f1de3309289a39aa90cae26282fb4774fb08a.tar.zst
mandoc-ee6f1de3309289a39aa90cae26282fb4774fb08a.zip
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')
-rw-r--r--regress/man/IP/literal.out_html4
-rw-r--r--regress/man/SH/paragraph.out_html4
-rw-r--r--regress/man/SS/paragraph.out_html4
-rw-r--r--regress/man/SY/literal.out_html4
-rw-r--r--regress/mdoc/Rs/paragraph.out_html17
-rw-r--r--regress/mdoc/Sh/paragraph.out_html4
6 files changed, 18 insertions, 19 deletions
diff --git a/regress/man/IP/literal.out_html b/regress/man/IP/literal.out_html
index ae90758b..844eb1dd 100644
--- a/regress/man/IP/literal.out_html
+++ b/regress/man/IP/literal.out_html
@@ -24,7 +24,7 @@ literal
paragraph
</pre>
regular text
-<h2 class="Ss" title="Ss" id="literal_into_indented_paragraph"><a class="permalink" href="#literal_into_indented_paragraph">literal
+<h2 class="Ss" id="literal_into_indented_paragraph"><a class="permalink" href="#literal_into_indented_paragraph">literal
into indented paragraph</a></h2>
regular text
<pre>
@@ -42,7 +42,7 @@ text
indented regular text</dd>
</dl>
<p class="Pp">new regular paragraph</p>
-<h2 class="Ss" title="Ss" id="literal_out_of_indented_paragraph"><a class="permalink" href="#literal_out_of_indented_paragraph">literal
+<h2 class="Ss" id="literal_out_of_indented_paragraph"><a class="permalink" href="#literal_out_of_indented_paragraph">literal
out of indented paragraph</a></h2>
regular text
<dl class="Bl-tag">
diff --git a/regress/man/SH/paragraph.out_html b/regress/man/SH/paragraph.out_html
index 5aef80e2..49627f19 100644
--- a/regress/man/SH/paragraph.out_html
+++ b/regress/man/SH/paragraph.out_html
@@ -1,6 +1,6 @@
BEGINTEST
-<h1 class="Sh" title="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
This text immediately follows a section header.
<p class="Pp">This is a 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
diff --git a/regress/man/SS/paragraph.out_html b/regress/man/SS/paragraph.out_html
index e36f2a06..bc803f86 100644
--- a/regress/man/SS/paragraph.out_html
+++ b/regress/man/SS/paragraph.out_html
@@ -1,8 +1,8 @@
BEGINTEST
-<h2 class="Ss" title="Ss" id="First_subsection"><a class="permalink" href="#First_subsection">First
+<h2 class="Ss" id="First_subsection"><a class="permalink" href="#First_subsection">First
subsection</a></h2>
This text immediately follows a subsection header.
<p class="Pp">This is a paragraph.</p>
-<h2 class="Ss" title="Ss" id="Second_subsection"><a class="permalink" href="#Second_subsection">Second
+<h2 class="Ss" id="Second_subsection"><a class="permalink" href="#Second_subsection">Second
subsection</a></h2>
ENDTEST
diff --git a/regress/man/SY/literal.out_html b/regress/man/SY/literal.out_html
index b1f378cf..5daf74ef 100644
--- a/regress/man/SY/literal.out_html
+++ b/regress/man/SY/literal.out_html
@@ -3,7 +3,7 @@ BEGINTEST
initial regular text
<table class="Nm">
<tr>
- <td><code class="Nm" title="Nm">command</code></td>
+ <td><code class="Nm">command</code></td>
<td><i>arguments</i></td>
</tr>
</table>
@@ -14,7 +14,7 @@ before display
</pre>
<table class="Nm">
<tr>
- <td><code class="Nm" title="Nm">command</code></td>
+ <td><code class="Nm">command</code></td>
<td>
<pre>
<i>arguments</i>
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