Custom rules

Version: 1.1.3

Custom rules

Open System > Plugins > System - Easy WCAG > Custom rules.

Report only

Log a match in the comment and debug panel without changing HTML.

Find and replace

Literal replace on the response. Runs in Fix mode only.

Regex replace

A PHP regular expression. Runs in Fix mode only. Keep patterns simple.

Add attribute

Target a simple selector such as span.status, a.btn, or #search, then set an attribute. Only if missing stays on by default so existing values are not overwritten.

Developer rules

Add extra PHP rules without forking the plugin. Copy the sample in the plugin Rule/Sample folder, or list class names in PHP rule classes.

Custom rules are for site-specific gaps. They are not a replacement for a real accessibility review.