SAPC-APCA
dark-background-light-text-extension
SAPC-APCA | dark-background-light-text-extension | |
---|---|---|
11 | 4 | |
402 | 347 | |
- | - | |
7.3 | 0.0 | |
1 day ago | 7 months ago | |
CSS | TypeScript | |
GNU General Public License v3.0 or later | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SAPC-APCA
- Why the New Contrast Method APCA
-
How Americans of different ages spend their time on weekdays [OC]
Why the New Contrast Method APCA
-
Change the colour of grey text back to black on website using poor contrast text
For a more future oriented version (as setting a font to black wont work with dark pages), check out the CSS Color Module Level 5 spec for color-contrast(), which will automatically choose a color that has a proper contrast ratio: https://www.w3.org/TR/css-color-5/#funcdef-color-contrast
One caveat is it's currently only supported in Safari technical preview.
Another thing worth mentioning is the relative brightness algo used in the repo for the linked plugin is using the WCAG 2 formula for relative luminance. This works pretty well in light mode for non-colored backgrounds, but doesn't incorporate perceived luminosity differences of different hues very well. A better algorithm to use here is the Advanced Perceptual Contrast Algorithm (APCA), which is the one used in the WCAG 3 working spec. It more accurately accounts for hue: https://github.com/Myndex/SAPC-APCA
-
Please Stop Using Grey Text
Note the licensing note in the repository[1] of the APCA™ index the author’s company[2] promotes:
> The files currently in this repository are presently considered pre-release, and as such do not have a permanent license attached. In this repositiory, all files present are under a time-barred beta license, and intended for use with web-based content only, and not for any other use without written permission.
The non-pre-release stuff[3] offered to W3C is better but still seems to be intended to end up non-FOSS:
> Files in this repository are licensed to the W3/AGWG under their cooperative agreement for use with WCAG accessibility guidelines for web-based content only, and not for any other use.
(The question being, of course, how much of this is copyrightable at all.)
[1] https://github.com/Myndex/SAPC-APCA/
[2] https://www.myndex.com/CVD/
[3] https://github.com/Myndex/apca-w3/
-
WCAG 3 and updated contrast checkers?
Second: There are a number of contrast checkers that use APCA technology. The canonical "official" one is https://www.myndex.com/APCA/ but I want to mention it is an open public beta, and is not backwards compatible with WCAG_2 (this is in part because WCAG_2 is not perceptually accurate and thus the areas where WCAG_2 incorrectly fails pairs that APCA will pass is at issue).
- WCAG 3 will use a new color contrast method called APCA
-
I made a tool to check the contrast between two colours using the new contrast algorithm being drafted for WCAG 3 — also includes fun rgb/hsl/lch sliders and buttons to adjust either colour to a desired contrast!
Andrew Somers W3 AGWG Invited Expert Color Science Researcher Myndex Perception Research Inventor APCA/co-author WCAG3
dark-background-light-text-extension
-
I'm a researcher, and I want to know how I can make your life better when using proflic
Dark mode is actually too stark a contrast and wears on my eyes. I have an addon that I can choose the colors. I have a dark gray background with green text and it is way better than having a 27" white light flashlight shining in my face for 10 hours a day. Everyone is different, choose what works for you. https://github.com/m-khvoinitsky/dark-background-light-text-extension
-
I have 49 add-ons enabled, how can I switch between a different configuration of addons as needed ? (other than running a private window)
22. Dark Background and Light Text 0.7.6 Makes every page to have light text on dark background (exact colors are customizable) https://github.com/m-khvoinitsky/dark-background-light-text-extension
-
Please Stop Using Grey Text
Another useful extension is Dark Background And Light Text https://github.com/m-khvoinitsky/dark-background-light-text-... . It's a one-button toggle to turn most text and backgrounds into colors you prefer. Great when you run across one of these accursed low-contrast sites.
-
Ask HN: My annual plea for dark mode
> darkreader
Too slow. Moved to https://github.com/m-khvoinitsky/dark-background-light-text-...
What are some alternatives?
a11y-color-tokens - Generate accessible UI colors from your base color tokens.
invidious-redirect - A (very) small WebExtension to redirect YouTube links to Invidious.
web-skills - A visual overview of useful skills to learn as a web developer
darkreader - Dark Reader Chrome and Firefox extension
CCAe - The Colour Contrast Analyser (CCA) helps you determine the legibility of text and the contrast of visual elements, such as graphical controls and visual indicators.
dark-background-light-text-
validate-access - Parse a & Validate a given directory with multiple entries
Content-Type-Fixer-extension - Firefox extension to override dumb Content-Type headers with correct values
luminosity-css - 💡 Duo of customizable CSS classes to define a light source location and cast dynamic shadows off elements based on their relative position. Themable and customizable with CSS variables
Lightning Browser - A lightweight Android browser with modern navigation
feedback - Public feedback discussions for: GitHub for Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more! [Moved to: https://github.com/github-community/community]
copy-link-text - Copy the text of the link.