equalizedigital / accessibility-checker

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

Allow JS rules to keep their ignored state between post updates #655

Closed pattonwebz closed 4 months ago

pattonwebz commented 4 months ago

Please give us a description of what happened.

A user reported this issue on FB and then posted it on the dot org forums. https://wordpress.org/support/topic/ignored-error-returns-after-page-update/

The error is no longer ignored when a JS-based rule is ignored and the post is saved.

Please describe what you expected to happen and why.

Errors that are ignored stay ignored, even through post updates.

How can we reproduce this behaviour?

  1. Create an issue in a post that causes a JS rule to flag - like a contrast issue or a possible heading.
  2. Save the post and then ignore the contrast issue.
  3. Save the post again and see that the issue is no longer ignored.

Technical info