From nobody Fri Apr 28 09:22:50 2023 X-Original-To: accessibility@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q76j60gjBz48F7p for ; Fri, 28 Apr 2023 09:28:10 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [IPv6:2a0c:5a00:149::26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q76j46LlXz4b8n for ; Fri, 28 Apr 2023 09:28:08 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=norwegianrockcat.com header.s=selector2 header.b=OYXupW+g; spf=pass (mx1.freebsd.org: domain of trueos@norwegianrockcat.com designates 2a0c:5a00:149::26 as permitted sender) smtp.mailfrom=trueos@norwegianrockcat.com; dmarc=pass (policy=quarantine) header.from=norwegianrockcat.com Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1psKOb-006yYe-Db for accessibility@freebsd.org; Fri, 28 Apr 2023 11:28:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norwegianrockcat.com; s=selector2; h=MIME-Version:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:To:From:Subject :Message-ID; bh=obyh3wy1vr35BhKMDdfLoXxExN6x8D0aX2e1p4DIayI=; b=OYXupW+gYGhMD 6xEVBwbKJm4GchD6VuxbNVSAU39BPphhDmB5nW6kEG32ig0rKrhkdG5/TV8E3nCvIuHRv3os6rKMs xPGX6GUg3MJHbS2Kzn6T1cd8QiMkCe3nyB1RCZEi2jF+dQpBs27juSt6Yo34B76RlvE/Lj/D/T6JJ OF3/tw3qJQJ+pFC1WPrIR0RUhaVR1jYXhduKqyqhrkI7cYaJkRz4QDVZvlaYLJbGbrKQABdQ3EaFW Lgqaq90pi11b3f4UjBqPoRJ9vJBQ4Bd3AVVeUM8EYqoNU0QCqQvFVmX67yLAA4IQJ0oMicWMLZxoe Qob5Wwx9gkJH4Csm94uZg==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1psKOb-0005fC-0i for accessibility@freebsd.org; Fri, 28 Apr 2023 11:28:05 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (786220)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1psKON-00089s-Jj for accessibility@freebsd.org; Fri, 28 Apr 2023 11:27:51 +0200 Message-ID: Subject: Re: High Contrast Installer From: Trenton Schulz To: accessibility@freebsd.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Apr 2023 11:22:50 +0200 List-Id: FreeBSD accessibility discussions List-Archive: https://lists.freebsd.org/archives/freebsd-accessibility List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-accessibility@freebsd.org X-BeenThere: freebsd-accessibility@freebsd.org MIME-Version: 1.0 User-Agent: Evolution 3.44.4 FreeBSD GNOME Team X-Spamd-Result: default: False [-4.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[norwegianrockcat.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip6:2a0c:5a00:149::26]; R_DKIM_ALLOW(-0.20)[norwegianrockcat.com:s=selector2]; RCVD_IN_DNSWL_LOW(-0.10)[2a0c:5a00:149::26:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[accessibility@freebsd.org]; ASN(0.00)[asn:50304, ipnet:2a0c:5a00::/29, country:NO]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[norwegianrockcat.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Q76j46LlXz4b8n X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On Wed, 2023-04-26 at 20:44 +0000, Pau Amma wrote: > On 2023-04-22 14:07, Alfonso Sabato Siciliano wrote: > > The wiki page "Base system accessibility wishlist" [0] has "Check > > the > > installer text and background colors provide enough contrast > > (including=20 > > as > > shades of grey) and or offer options to change them.". > >=20 > > bsddialog provides already a black and white theme. > > Default theme: > > $ bsddialog --yesno "Default Theme" 0 0 > > Black and White theme: > > $ bsddialog --theme blackwhite --yesno "Black and White Theme" 0 0 >=20 > A useful resource for contrast requirements is=20 > https://webaim.org/articles/contrast/. (Its focus is on webpages, but > it=20 > stands to reason that the minimum requirements and the example > contrasts=20 > are applicable to all uses of text.) To check what contrast a color > pair=20 > (foreground/background) gives users,=20 > https://webaim.org/resources/contrastchecker/=C2=A0is an option. (I just= =20 > added these two to https://wiki.freebsd.org/Accessibility/Resources.) >=20 I'll second. Pau's reference is very good for checking color contrast (I use webaim's contrast checker often since it is so readily available). Often a "quick and dirty" check can be to "print" the screen in grayscale and see how easy it is to read. I have no idea how much fidelity one gets in picking colors for terminal applications, but it's probably a good idea to have the default theme pass at least the AA contrast (4.5:1 or better) and have the black and white theme as a high-contrast option (since that will give you the maximum ratio og 21:1). I might have some time this weekend to do a quick look through bsddialog and test things out... Best regards, --=20 Trenton