Templates / Block inaccessible merge requests with GitLab commit statuses

Block inaccessible merge requests with GitLab commit statuses

Ready for 3.0

by Melbin Francis ✓ · 4 views · created 2026-10-01

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 19 nodes and runs on GitLab events (merge requests). Along the way it connects GitLab.

How it runs

Trigger: On GitLab events (merge requests).

  1. Accessibility Rules (Edit Fields (Set)): sets 6 fields: gitlab_api, file_extensions, min_contrast…
  2. A Change To Check? (If): checks a condition and branches into true / false
  3. List Changed Files (HTTP Request): calls an HTTP API (GET)
  4. GitLab Listed The Files? (If): checks a condition and branches into true / false
  5. Keep Web Files And Added Lines (Code): runs custom JavaScript code
  6. Stop: GitLab Did Not List The Files (Stop and Error): stops the run with an error
  7. Any Web File Changed? (If): checks a condition and branches into true / false
  8. Read File At Source Commit (GitLab): get (file)
  9. Nothing To Check (Code): runs custom JavaScript code
  10. Check Alt, Labels, Lang And Contrast (Code): runs custom JavaScript code

…plus 7 more steps. See the full node list below.

Services it uses

GitLab

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick Overview This workflow triggers on GitLab merge request updates, scans changed markup files for basic WCAG 2.1 accessibility issues aligned with EU Accessibility Act requirements, then sets a commit status and maintains a single merge request comment…

Excerpt from Melbin Francis's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.