Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2023 18:13:43 +0200
From:      Trenton Schulz <trueos@norwegianrockcat.com>
To:        accessibility@freebsd.org
Cc:        alfix86@gmail.com
Subject:   Re: High Contrast Installer
Message-ID:  <f812750e5ee969acb9ca62cdfbaf6cf7649e2bbf.camel@norwegianrockcat.com>
In-Reply-To: <defd3323de7b2b1f737a37b8a538340c2c81aaad.camel@norwegianrockcat.com>
References:   <CAPJrGM3zw3phbGSyyrjszqW0%2BF7-fWxM=q3eDJKKOkcE0%2Bqt6g@mail.gmail.com> <e9615955bed005eed27dbd317699cc61@gundo.com> <defd3323de7b2b1f737a37b8a538340c2c81aaad.camel@norwegianrockcat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f812750e5ee969acb9ca62cdfbaf6cf7649e2bbf.camel>