Skip to content

Errata #2

Closed
Closed
@Myndex

Description

@Myndex

I am quoting the "Missing Introduction" below, indicating misunderstandings and errors:

APCA was created by Andrew Somers (Myndex) and is currently being proposed for the next major version of the W3C Accessibility Guidelines

As well as for use in other standards and contexts.

An interactive demo is available at https://xi.github.io/apca-introduction/tool/.

Your demo as linked here is not fully compliant with APCA. Please see: https://git.apcacontrast.com/documentation/minimum_compliance

  • WCAG 2.x produces a ratio between 1:1 and 21:1. APCA produces a value roughly between -100 and 100.

More correct: APCA produces a value of 0 to 106 for dark text on a lighter background, and 0 to -108 for light text on a darker background.

  • The result of APCA is negative for light text on dark background. You will usually work with the absolute value though.

Developers have the option of returning a signed value to indicate polarity, OR returning a value with a string identifying the polarity. I.e.:

Signed value: 75 or -75
Text Ident: 75 BoW or 75 WoB
Text Ident: 75 LM or 75 DM
etc.

  • With WCAG 2.x, 29% of all color combinations meet at least level A, 14% meet at least level AA, and 5% meet level AAA. With APCA, only 23% of all color combinations meet at least level A, 11% meet at least level AA, and 3% meet level AAA. So APCA is stricter.

There is no contrast requirement for level A, so I'm not sure what you are referring to. Also, how did you derive these numbers? They don't seem correct?

Examples

Your examples as chosen are all fairly high contrast using a bold font. This does NOTHING to demonstrate the differences. Your examples are mostly in the realm of "contrast constancy", and not near the edge.

Evaluating a contrast algorithm is extremly difficult because contrast perception varies from person to person and also depends on the lighing conditions.

No not really, though there are contrast sensitivity impairments that do have an effect.

Ambient lighting affects contrast perception in that ambient is part of the driver of light adaptation, and the adapted level affects contrast perception, as does context. All of these issues though are part of the contrast matching experiments that instructed the curve shaping that was done in developing APCA, and are set to the "lowest common worst case".

Whether APCA is actually better than WCAG 2.x is therefore hard to tell.

Actually, it is prima facie evidence, and trivial to demonstrate. Here's an example:

ColumnCompareAll400

And here is a comparison for dark mode:

ColumnCompareAll400

I personally could not say from the examples above which one works better for me.

Your examples are poor, using a bold font, and using high contrast, the result is that your examples are above contrast constancy, and therefore do not demonstrate the important differences.

A rigorous scientific evaluation is not yet available.

??? There has been ample third party and peer review. Here are just a couple

It is true there are uninformed claiming otherwise, and they fully ignore the reviews that have been completed. Also, ACPA is the result of three years of development in the Visual Contrast subgroup of Silver, and under the oversight of the AGWG.

For one it was born out of my personal frustration with the original
documentation. Some important pieces of information (e.g. the actual algorithm)
get buried under all that text.

LOL. You never bothered to look in the folder labeled "documentation", the first file in the list is the algorithm. Not to mention that the JS file shows the algorithm plain as day, along with ample comments.

The original documentation also contains absolute statements like "APCA is perceptually uniform" and that the old algorithm produces "invalid results". This in my opinion is wrong as perceptual uniformity is an ideal that can never be reached completely. So I felt like there was room for a more balanced introduction.

You are by your own admission not a vision scientist. "Perceptually uniform" has a specific meaning in the context of the field, namely that that the delta value matches the perceived delta.

WCAG 2 contrast math is nowhere close to perceptual uniformity, as is plain to see in the above examples.

Perceptual uniformity means, in this context, that a lightest pair of colors at Lc 45 is just as readable as a darkest pair of colors also at the wsame Lc 45.

If you want to dig deeper, I recommend to start with the original WCAG issue and the documentation README.

Thread 695 is over three years old, and is not a good place to start. The documentation readme you linked to is fine, but the catalog of resources is https://git.myndex.com

Thank you for reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions