equalizedigital / accessibility-checker

GNU General Public License v2.0
15 stars 8 forks source link

Don't operate on JS rules when doing rulecheck for php ruleset #656

Closed pattonwebz closed 1 month ago

pattonwebz commented 1 month ago

This PR makes a change that excludes the JS rules from the PHP rule check flow when a post is updated. It prevents any JS rule issues from being deleted from the database at the end of the PHP scan (they will still be deleted if corrected when the JS scan runs).

This solves the issue reported that specific ignored issues (investigating, I found that it was all JS rules subject to this bug) would return when posts were updated and no longer be ignored.

Fixes: #655