summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-01-11 12:44:10 +0000
committerschwarze <schwarze@openbsd.org>2019-01-11 12:44:10 +0000
commit0ce603aba07de58c700ff6ce894995bc749d618d (patch)
treed13e68532418cb9bda34494b001a82fcc7198c01 /usr.bin/mandoc/html.c
parentSimilar CAVEATS regarding LC_NUMERIC as was just committed (diff)
downloadwireguard-openbsd-0ce603aba07de58c700ff6ce894995bc749d618d.tar.xz
wireguard-openbsd-0ce603aba07de58c700ff6ce894995bc749d618d.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 'usr.bin/mandoc/html.c')
-rw-r--r--usr.bin/mandoc/html.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/mandoc/html.c b/usr.bin/mandoc/html.c
index ac016c4ebee..b7a66ebbbfb 100644
--- a/usr.bin/mandoc/html.c
+++ b/usr.bin/mandoc/html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.c,v 1.120 2019/01/07 06:51:37 schwarze Exp $ */
+/* $OpenBSD: html.c,v 1.121 2019/01/11 12:44:10 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -655,12 +655,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
print_encode(h, arg1, NULL, 1);
fmt++;
break;
- case 'T':
- print_encode(h, arg1, NULL, 1);
- print_word(h, "\" title=\"");
- print_encode(h, arg1, NULL, 1);
- fmt++;
- break;
default:
print_encode(h, arg1, NULL, 1);
break;