SShortSingh.
Back to feed

Invisible Button Text Passed Axe CI Checks Due to 'Incomplete' Classification Gap

0
·2 views

A developer discovered that a button label rendered completely invisible in dark mode — with identical text and background colors — never triggered a CI failure because axe-core classified the 1:1 contrast issue as 'incomplete' rather than a 'violation'. Axe intentionally avoids flagging matching foreground-background colors as violations because identical values can be a legitimate technique for hiding elements, such as visually-hidden labels or decorative text. Most testing pipelines, however, only assert on violations and silently discard incomplete results, creating a blind spot where the most severe contrast defects are least likely to cause a build failure. The developer recommends surfacing incomplete findings separately, avoiding the resultTypes: ['violations'] config option that truncates incomplete results, and diffing findings across rendering states rather than relying on raw counts. They also released an open-source tool called a11y-matrix that runs axe across multiple states — including dark mode, reduced motion, and narrow viewports — and reports only what each state uniquely breaks.

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
ProgrammingDEV Community ·

GopherKind bridges Nostr and Gopher protocol, turning every public key into a gopherhole

A developer has built GopherKind, an open-source tool that maps Nostr public keys to Gopher protocol content, making every Nostr account automatically accessible as a gopherhole. The project converts a user's Nostr profile, notes, replies, articles, and social graph into standard Gopher menus and text files. Authors can also publish dedicated, path-addressed pages using a new proposed event type called kind 31436, defined in a draft NIP submitted as PR #2429 to the nostr-protocol repository. The tool aims to solve Gopher's longstanding lack of authorship and content persistence by anchoring documents to cryptographic identities via Nostr's signed events. Content published through GopherKind is accessible via Gopher, Gemini, the web, and terminal without requiring readers to hold a Nostr account.

0
ProgrammingHacker News ·

Google Search Faces Decline as AI-Driven Alternatives Raise New Concerns

A recent analysis published in The Walrus argues that Google Search is in a state of decline, losing its effectiveness as a discovery tool. The piece suggests that the platforms and technologies emerging to replace traditional search may present problems of their own. Concerns center on how AI-driven search and content aggregation could reshape how users access and evaluate information online. The article has sparked discussion in tech circles, including on Hacker News, where it drew reader attention and debate. The broader implication is that the transition away from Google Search may not necessarily lead to a better information ecosystem.

0
ProgrammingDEV Community ·

German AI Adoption Tops 51% as Language Gaps Complicate Agentic AI Deals

A March 2026 Salesforce and Deutscher Mittelstands-Bund report found that 51.2% of German mid-sized companies are now using or testing AI, up from 33.1% the previous year. The German-speaking market lacks a precise equivalent for the English adjective 'agentic', relying instead on the noun 'KI-Agent', which conveys no information about a system's level of autonomy. This vocabulary gap creates real procurement problems, as contracts for 'einen KI-Agenten' rarely specify how much decision-making authority is delegated, leaving room for supplier misinterpretation. Five terms are currently used interchangeably in the German market — including 'Agentische KI', 'Autonome KI-Systeme', and 'KI-Mitarbeiter' — despite carrying meaningfully different implications. The term 'KI-Mitarbeiter', or AI employee, poses additional legal risk under EU transparency rules taking effect on 2 August 2026, which restrict presenting AI systems as human to customers.

0
ProgrammingDEV Community ·

Developer finds 6 published pages missing from tracking scripts due to silent ledger bug

A developer maintaining a plain-text ledger of published URLs discovered that six entries had gone untracked by all monitoring scripts for eleven days. The pages were stored in a separate table within the same file, causing a status-based filter to skip them entirely without raising any error. Unlike a misclassified or missing value, the omitted rows produced no alerts because nothing in the system was designed to count what the filter ignored. The developer fixed the blind spot by writing a secondary script that counts all URLs in the ledger regardless of row structure, then compares that total against the status-filtered count. The incident highlighted four tiers of data-tracking failure, with silent omission and correct-but-misdirected records being the hardest to detect.