diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-11 12:56:42 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-11 12:56:42 +0000 |
commit | ee6f1de3309289a39aa90cae26282fb4774fb08a (patch) | |
tree | 389d4ad2803e128c8d58759fa9673cc923c4a211 /html.c | |
parent | a4e1608773e41b082d75ff2cbf2d56d12f5f02a1 (diff) | |
download | mandoc-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 'html.c')
-rw-r--r-- | html.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.250 2019/01/07 07:26:29 schwarze Exp $ */ +/* $Id: html.c,v 1.251 2019/01/11 12:56:42 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org> @@ -657,12 +657,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; |