From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55887: global-whitespace-mode and WCAG Accessibility Standards Date: Fri, 10 Jun 2022 17:54:33 +0000 Message-ID: References: <871qvwvnze.fsf@gnus.org> Reply-To: goncholden Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19644"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55887@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 10 19:55:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nziqq-0004ut-HQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 19:55:16 +0200 Original-Received: from localhost ([::1]:42696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nziqo-0003RD-Uw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 13:55:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nziqc-0003Qh-SX for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 13:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nziqc-0007mi-FA for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nziqc-0005mf-BB for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 13:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: goncholden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jun 2022 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 55887-submit@debbugs.gnu.org id=B55887.165488368922210 (code B ref 55887); Fri, 10 Jun 2022 17:55:02 +0000 Original-Received: (at 55887) by debbugs.gnu.org; 10 Jun 2022 17:54:49 +0000 Original-Received: from localhost ([127.0.0.1]:51280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nziqO-0005mA-Jr for submit@debbugs.gnu.org; Fri, 10 Jun 2022 13:54:48 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:34868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nziqM-0005lx-5i for 55887@debbugs.gnu.org; Fri, 10 Jun 2022 13:54:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654883679; x=1655142879; bh=aHha8ArffU4QMqB76T0tEY7v0ZUPsSmUoY4wjVVoT/0=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=M13HeH9dJn7/8PKDf9YewAqns9UhZc6gx0DyyqfQCzVkm6PWl6QX3qRTdOkSK1bZJ iDMxlIvRdmUs+ainz49ffViTdbkSGf6UlG288cUqyE2fkJAbPJs9zZf4073Xel7aLd 8rB0/wVOj+TOUP+DVJTmPsLip1lrFWfuZT4W+OaJeKlcQxQGEJi/ZhrXdGAg5j65IB 2QS+SPT4a+3gQgNOjiRc5/ijxP0iluWaFNRMurVWZqXHUbfgxI3TxfyzhimbY+863P 0DbqYFrgnsoSO1BG+zdd4QFE0d/2YoaeyGXXS1zF/h/WCSsSLOpNb3cGezDeZZlXm6 AGJrbH4Qwc5wQ== In-Reply-To: <871qvwvnze.fsf@gnus.org> Feedback-ID: 43053548:user:proton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , goncholden Xref: news.gmane.io gmane.emacs.bugs:234237 Archived-At: ------- Original Message ------- On Friday, June 10th, 2022 at 9:58 PM, Lars Ingebrigtsen w= rote: > goncholden goncholden@protonmail.com writes: > > > I have been using global-whitespace-mode to highlight tabs and trailing= spaces. > > > > Trailing spaces look good in red, but the colour used for highlighting > > tabs does not look good when one is using a dark background. Can the > > contrast ratio be changed so that it adheres to WCAG Standard used for > > Colour Accessibility? > > > The colours look fine to me: If you look at the contrast ratio, you will find that it is very low, a mer= e 1.59. You should do some homework to ensure a contrast ratio of at least= 4.5:1 exists between text and background behind the text. Because it looks good to you, it does not necessarily mean it is good. Ins= isting that it looks good because it is good for you means that the project= does not care about accessibility. I cannot see it at all and the thing t= hat saved me was having the tab marks showing up. At a contrast of 3.5, I = can see it, confirming that the WCAG Standard in a very good standard to us= e. Rather than simply using grey, the thing to de is select colours from the c= olour wheel (e.g triadic colours) so you can have an adequate colour vibra= ncy. Because whilst you use a vibrant red for trailing spaces, whitespace-= mode does not continue with the colour vibrancy for highlighting the rest. > > If you want a different colour, then change the colour of that face. > > Closing. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no