Guardrail Blocks WordPress Plugin | Codefreex Skip to content
Guardrail Blocks icon

WordPress plugin

Guardrail Blocks

Blocks where accessibility is enforced by design: WCAG-safe color contrast and an unbreakable heading hierarchy — no QA cleanup pass.

By BreonWilliams
Version
0.1.2
Last updated
Oct 2, 2026
Tested up to
WordPress 7.1.5
Requires
WP 6.9 · PHP 8.0

Health check

Is Guardrail Blocks safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on October 2, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.1.5.

Requires PHP 8.0 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where Guardrail Blocks ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Guardrail Blocks
KeywordPositionChangeTrendCurrent #1
accessibility
blocks
contrast
headings
wcag
guardrail blocks

Checked against the top 100 WordPress.org search results.

Overview

What Guardrail Blocks does

Most accessibility failures on WordPress sites are authoring failures: a brand color that doesn’t meet WCAG contrast, a heading hierarchy scrambled by reordering, an accordion built from divs with no keyboard support. They look fine in the editor and fail the audit later.

Guardrail Blocks takes a different approach: instead of offering accessible options, its blocks make the failure impossible to author — and re-verify everything on every page view.

WCAG-safe color contrast — Button backgrounds come only from your theme’s palette (plus any custom colors added in Global Styles), and the most readable text color is chosen automatically (the live ratio is shown in the sidebar, e.g. “Contrast 8.36:1 — AA ✓”). The pairing is re-validated server-side on every page view against your theme’s current palette, so switching themes or changing brand colors can never leave a failing button behind.

Unbreakable heading hierarchy — There is no heading level control anywhere. An Accessible Heading derives its level (H2–H6) from how Accessible Sections are nested, and re-derives it when you reorder, nest, or un-nest — the document outline stays valid by construction. Card titles and accordion headers participate too, always one level below their section’s heading.

Correct interactive semantics — The Accordion ships the full WAI-ARIA disclosure pattern: real buttons inside correctly-leveled headings, aria-expanded/aria-controls wiring, Enter/Space toggling, arrow-key navigation between headers, and content that stays reachable without JavaScript.

Performance-correct media — The Media Figure renders through core’s responsive-image pipeline with…

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

Guardrail Blocks in action

The Starter Brochure Page pattern: hero, feature cards, FAQ, and call-to-action with a guaranteed-valid heading outline.
The Starter Brochure Page pattern: hero, feature cards, FAQ, and call-to-action with a guaranteed-valid…
Contrast enforcement in the editor: pick a background from the theme palette and the readable text color is chosen automatically, with the live WCAG ratio shown.
Contrast enforcement in the editor: pick a background from the theme palette and the…
The Outline Checker panel lists every heading — including core Heading blocks — and flags outline problems.
The Outline Checker panel lists every heading — including core Heading blocks — and…

FAQ

Guardrail Blocks: questions and answers

What is Guardrail Blocks?

Guardrail Blocks is a WordPress plugin by BreonWilliams. Blocks where accessibility is enforced by design: WCAG-safe color contrast and an unbreakable heading hierarchy — no QA cleanup pass.

Is Guardrail Blocks free?

Guardrail Blocks is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is Guardrail Blocks still maintained?

Guardrail Blocks was last updated on October 2, 2026. The current version is 0.1.2. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Guardrail Blocks require?

Guardrail Blocks requires WordPress 6.9 or newer and PHP 8.0 or newer. It has been tested up to WordPress 7.1.5.

Can Codefreex set up or customize Guardrail Blocks?

Yes. Codefreex installs, configures and customizes WordPress plugins including Guardrail Blocks, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Guardrail Blocks set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us