From nobody Tue May 16 16:13:43 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 4QLLz505Wzz4BCH1 for ; Tue, 16 May 2023 16:19:13 +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 4QLLz35V7mz3vwn for ; Tue, 16 May 2023 16:19:11 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=norwegianrockcat.com header.s=selector1 header.b="CDDDkl x"; 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 1pyxOF-00Fiep-Up; Tue, 16 May 2023 18:19:07 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norwegianrockcat.com; s=selector1; h=MIME-Version:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:From: Subject:Message-ID; bh=aHnB7zq03MGpWZPz2qrkyZu2D9onCcc534Wuy2vl1SY=; b=CDDDkl xsZ19EzmPUfnTAyZMgulZfAcK78/KoJEjZ1yo5Z9VIxQO8/V6z0fWXEE6mlWrcq+H4MA+vRK1vqY/ Hq3cyhWhBjgojoYkc+BUY4R/FueAjFq643eztq1NtXqJRG2GsEfB+Q/UfYoY7onrmRju5IHYcQw/+ czfG5xktKzp9T1t4E8yMP+kf7GiznmAojoYEkzHB2c3PSOku5sBHQ15oVOlLsHJjhqLMvXvD6Fgos o9h43b8k4VI3Zvc1LwHD46yI1L//MmDUffv5gM8B1BBqLu1mB7gP6V0/fD1cUp7CjLKUMLrtlPVk/ 538opmQh/yWcoCmQwRAe8OUQmnmw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pyxOF-00054G-3X; Tue, 16 May 2023 18:19:07 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (786220)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pyxNt-0002l3-9V; Tue, 16 May 2023 18:18:45 +0200 Message-ID: Subject: Re: High Contrast Installer From: Trenton Schulz To: accessibility@freebsd.org Cc: alfix86@gmail.com In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 16 May 2023 18:13:43 +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_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; 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=selector1]; RCVD_IN_DNSWL_LOW(-0.10)[2a0c:5a00:149::26:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[accessibility@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50304, ipnet:2a0c:5a00::/29, country:NO]; DKIM_TRACE(0.00)[norwegianrockcat.com:+]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4QLLz35V7mz3vwn X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On Fri, 2023-04-28 at 11:22 +0200, Trenton Schulz wrote: > 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 jus= t > > added these two to > > https://wiki.freebsd.org/Accessibility/Resources.) > >=20 >=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. >=20 > 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). >=20 > I might have some time this weekend to do a quick look through > bsddialog and test things out...=20 Hello, I managed to get these checked and I wrote up the items in a GitLab issue: https://gitlab.com/alfix/bsddialog/-/issues/4 Again, I'm not sure how richly one can specify colors in curses (I remember this was very termcap-dependent back in the day), but the issue is at least documented for the moment and something that can be worked towards. Otherwise, the blackwhite theme would be candidate theme for a High Contrast Installer today. Getting the other themes to have better contrast would be good too. Hope this helps, --=20 Trenton