• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Equalize Digital Home

Equalize Digital

Website Accessibility Consulting, Training, and Development

  • My Account
  • Swag Shop
  • Checkout
  • Services
    • Accessibility Audits
    • User Testing
    • Accessibility Remediation
    • VPAT & ACR Preparation
    • Accessibility Monitoring
    • Web Accessibility Training
    • Accessibility for Agencies
  • Accessibility Checker
    • Overview
    • Features
    • Pricing
    • Documentation
    • Support
    • Buy Now
  • Company
    • About Us
    • Our Team
    • Industry Expertise
    • Blog
    • Accessibility Statement
    • Contact Sales
    • Become An Affiliate
  • Events
    • Accessibility Meetup
    • Global Accessibility Awareness Day
  • Contact Sales
  • My Account
  • Checkout
Home / Accessibility Checker / Remove Rules/Checks from Scans (edac_filter_register_rules)

Remove Rules/Checks from Scans (edac_filter_register_rules)

Description

We have filters that allow you to remove a specific Accessibility Checker rule or all rules of a type. This filter will stop the plugin from scanning for that particular issue and remove it from all reports.

Please note that all of our errors and warnings are specifically created to ensure that your website meets Website Content Accessibility Guidelines (WCAG) 2.1. Removing a warning or error rule is not advised; however, if you have a specific use case that warrants removing a rule or group of rules, you can do so with the code snippets below.

Usage

This is how the filter is added:

add_filter('edac_filter_register_rules','my_rule_filter');

The edac_filter_register_rules filter allows you to define a different rule variable that removes rules individually or by type (error or warning) using the edac_remove_element_with_value() function.

The edac_remove_element_with_value() function accepts parameters for either a rule’s slug or type to remove that rule or all rules of the same type, such as:

edac_remove_element_with_value($rules, 'slug', 'slider_present');

Parameters

This table shows the slug and type for each rule in Accessibility Checker. These are the parameters that can be passed to the edac_remove_element_with_value() function.

Title Slug Type
Ambiguous Anchor Textlink_ambiguous_texterror
Blinking or Scrolling Contenttext_blinking_scrollingerror
Broken ARIA Referencebroken_aria_referenceerror
Broken Skip or Anchor Linkbroken_skip_anchor_linkerror
Duplicate Form Labelduplicate_form_labelerror
Empty Buttonempty_buttonerror
Empty Form Labelempty_form_labelerror
Empty Heading Tagempty_heading_tagerror
Empty Linkempty_linkerror
Empty Table Headerempty_table_headererror
Image Map Missing Alternative Textimage_map_missing_alt_texterror
Image Missing Alternative Textimg_alt_missingerror
Incorrect Heading Orderincorrect_heading_ordererror
Insufficient Color Contrastcolor_contrast_failureerror
Linked Image Empty Alternative Textimg_linked_alt_emptyerror
Linked Image Missing Alternative Textimg_linked_alt_missingerror
Long Description Invalidlong_description_invaliderror
Missing Form Labelmissing_form_labelerror
Missing Language Declarationmissing_lang_attrerror
Missing Table Headermissing_table_headererror
Missing Titlemissing_titleerror
Missing Transcriptmissing_transcripterror
iFrame Missing Titleiframe_missing_titleerror
A Slider is Presentslider_presentwarning
A Video is Presentvideo_presentwarning
ARIA hiddenaria_hiddenwarning
Duplicate Alternative Textimg_alt_redundantwarning
Empty Paragraph Tagparagraph_should_not_be_emptywarning
Image Animated GIFimg_animated_gifwarning
Image Empty Alternative Textimg_alt_emptywarning
Image Long Alternative Textimg_alt_longwarning
Link Opens New Window or Tablink_blankwarning
Link to MS Office Filelink_ms_office_filewarning
Link to Non-HTML Filelink_non_html_filewarning
Link to PDFlink_pdfwarning
Low-quality Alternative Textimg_alt_invalidwarning
Missing Subheadingsmissing_headingswarning
Possible Headingpossible_headingwarning
Tab Order Modifiedtab_order_modifiedwarning
Text Justifiedtext_justifiedwarning
Text Too Smalltext_smallwarning
Underlined Textunderlined_textwarning

Examples

Remove a single rule

Here is how to remove a specific rule, using the rule slug for the specific rule being removed. This example shows us removing the “Slider is Present” warning:

Remove all rules by type

Here is an example of how to remove all warning rules:

Since

This filter was added in Accessibility Checker 1.4.0.

Source Code

This filter is located in edac_register_rules() in /accessibility-checker.php

Primary Sidebar

Real, Proactive Accessibility

Use Accessibility Checker to detect accessibility issues in bulk, whether your WordPress website has ten pages or ten thousand. Never lose track again with real-time scans every time you save, and historical reporting.

Get Accessibility Checker 👈

Frequently Asked Questions

  • How to Install & Activate Accessibility Checker
  • Getting Started Quick Guide
  • Why Do We Say 100% Passed Tests, Not 100% Accessible?
  • Manual Accessibility Testing: How You Can Check Website Accessibility
  • When and How to Ignore Accessibility Errors or Warnings
  • What to do if There are Accessibility Errors in Your Theme
  • What to do if a Plugin You’re Using has Accessibility Errors
  • How to Get Support for Accessibility Checker
  • Can I Hire Equalize Digital to Fix Accessibility Issues on My Website?
  • Additional Resources for Learning About Accessibility
  • How to Test Accessibility Checker for Conflicts with Themes or Plugins
  • What Does “Unlimited Dev Sites” mean?
  • Is there an Accessibility Conformance Report (ACR) or VPAT available for Accessibility Checker?
  • How to Get the Audit History Plugin – Legacy Customer Instructions
  • How does Accessibility Checker align with WCAG?
  • What to do if Accessibility Checker is not Scanning Your Site
  • Known Conflicts
  • Ensuring Accessibility Checker Fixes Work with JavaScript Optimization Plugins

Rule Documentation

  • A Slider is Present
  • A Video is Present
  • Ambiguous Anchor Text
  • ARIA Hidden
  • Blinking or Scrolling Content
  • Broken ARIA Reference
  • Broken Skip or Anchor Link
  • Duplicate Alternative Text
  • Duplicate Form Label
  • Empty Button
  • Empty Heading Tag
  • Empty Link
  • Empty or Missing Form Label
  • Empty or Missing Table Header
  • Empty Paragraph Tag
  • iFrame Missing Title
  • Image Animated GIF
  • Image Empty Alternative Text
  • Image Long Alternative Text
  • Image Map Missing Alternative Text
  • Image Missing Alternative Text
  • Improper Use of Link
  • Incorrect Heading Order
  • Insufficient Color Contrast
  • Link Opens New Window or Tab
  • Link to MS Office File
  • Link to Non-HTML File
  • Link to PDF
  • Linked Image Missing or Empty Alternative Text
  • Long Description Invalid
  • Low-quality Alternative Text
  • Missing Language Declaration
  • Missing Subheadings
  • Missing Title
  • Missing Transcript
  • Possible Heading
  • Readability & Simplified Summary
  • Tab Order Modified
  • Text Justified
  • Text Too Small
  • Underlined Text
  • Zooming and Scaling Disabled

Easier, Faster Accessibility Testing

Equalize Digital Accessibility Checker gives you real-time accessibility feedback in the WordPress editor. Learn accessibility and make fixes earlier in the dev and content creation process. Full-site accessibility scanning without the per page fees.

Get Accessibility Checker

Footer

Equalize Digital Websites for Everyone

Your WordPress accessibility team. Accessibility plugins, rapid audits, and consulting to help you make your website usable by people of all abilities.

  • Facebook
  • GitHub
  • LinkedIn
  • Twitter
  • YouTube

Company

  • About Equalize Digital
  • WordPress Accessibility Meetup
  • Accessibility Statement
  • Blog
  • Events
  • Contact Us

Services

  • Accessibility Audits
  • User Testing
  • Remediation
  • Ongoing Monitoring
  • VPAT & ACR Preparation
  • Accessibility Training
  • For Agencies
  • Website Development

Accessibility Checker

  • Features
  • Pricing
  • Documentation
  • How to Get Support
  • My Account
  • Affiliate Dashboard
  • Become an Affiliate

© 2025 Equalize Digital · Privacy Policy · Terms of Service · Software Terms & Refund Policy

International Association of Accessibility Professionals member