If you would like to remove a specific Accessibility Checker rule, we have filters in place that allow you to do so.
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.
Here is how to remove a specific rule:
add_filter('ac_filter_rules','my_rule_filter');
function my_rule_filter($rules){
$rules = ac_remove_element_with_value($rules, 'slug', 'slider_present');
return $rules;
}
Here is an example of how to remove all warning rules:
add_filter('ac_filter_rules','my_rule_filter');
function my_rule_filter($rules){
$rules = ac_remove_element_with_value($rules, 'rule_type', 'warning');
return $rules;
}
You would place this code in your theme’s function file or within a custom plugin.