From ee6f1de3309289a39aa90cae26282fb4774fb08a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 11 Jan 2019 12:56:42 +0000 Subject: 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 for suggesting most of the styling in the new ::before rules. --- html.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 55d5c99f..cc1bc394 100644 --- a/html.c +++ b/html.c @@ -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 * Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze @@ -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; -- cgit v1.2.3