SShortSingh.
Back to feed

Yellow Captions on Cream Slides Can Fail Contrast Standards, Study Shows

0
·3 views

A yellow caption that reads clearly on a dark title card can become hard to read when placed on a cream slide, even after enlarging it. The article recommends checking the actual foreground and background color pair before adjusting type size. It points to the free WebAIM Contrast Checker, which accepts two hex codes and returns a shareable result. In the examples given, yellow on cream fails the WCAG AA threshold, while navy on cream passes comfortably. The author also advises testing the least favorable visible area behind the letters and noting that these figures apply only to solid swatches, not transparency, video, or whole sites.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Memtest86 v9.10 adds NUMA support for multi-socket servers

A new release of the Memtest86 memory testing tool, version 9.10, has been published on GitHub. The update introduces support for NUMA, the non-uniform memory architecture used in multi-socket servers. The release was shared on Hacker News, where it drew modest early attention. The source material provides no further details on the specific changes or testing behavior in this version.

0
ProgrammingDEV Community ·

Why saved video links break in published Replit apps and how to fix it

A developer building Replit apps found that saving videos from pasted TikTok, YouTube, Instagram or X links works in preview but fails once published. Social platform links point to web pages rather than downloadable files, so fetching them returns HTML instead of video. Files written to a deployment's local disk are also lost, because autoscale deployments restart regularly and scale to zero when idle. The recommended approach is to convert the link into a real file and store it in Replit's App Storage, which is private and accessed through an SDK. For direct file URLs, the article shows how to stream content straight into storage, while page links require a downloader service that can be harder to maintain in production.

0
ProgrammingDEV Community ·

How to Tell if a Domain Is Still Active in Python: NXDOMAIN, NODATA and SERVFAIL

A DEV Community guide explains that checking a domain's A record only shows whether an IP address was returned, not why a lookup failed. It distinguishes NXDOMAIN (the name does not exist in DNS), NODATA (the name exists but has no address record), and SERVFAIL (the domain's DNS is broken), noting that none of these alone confirms registration. The author recommends querying RDAP, the registries' JSON successor to WHOIS, for the domains DNS cannot resolve, while warning that registry terms restrict high-volume automated use. A standard-library Python script using Cloudflare's DNS-over-HTTPS endpoint sorts a domain list into these states, and the post closes with a hosted option built by the author.

0
ProgrammingDEV Community ·

Developer Builds Personal Website into Microservice Platform with Polished Interface

A developer set out to create a personal website to showcase work and experiment with ideas, but the project grew into a microservice-based platform. The developer designed, built, deployed, and maintains the system independently, with an emphasis on a cohesive, intentional visual experience. Feedback from the developer community praised both the interface design and the underlying engineering. The architecture splits responsibilities across a Next.js frontend, a NestJS backend with Prisma, a separate authentication service using Firebase Admin SDK, and a Python FastAPI service for computer vision, all orchestrated with Docker Compose and Caddy.