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

Equalize Digital

Website Accessibility Consulting, Training, and Development

  • My Account
  • Support
  • Checkout
  • Software
    • Accessibility Checker
      • Features: Accessibility Checker
      • Documentation: Accessibility Checker
      • Buy Accessibility Checker
      • Start Free
    • ArchiveWP
      • Documentation: ArchiveWP
      • Buy ArchiveWP
      • Demo All Plugins
  • Services
    • Accessibility Audits
    • User Testing
    • Accessibility Remediation
    • VPAT & ACR Preparation
    • Accessibility Monitoring
    • Web Accessibility Training
    • Accessibility for Agencies
  • Company
    • About Us
    • Our Team
    • Industry Expertise
    • Accessibility Statement
    • Contact Sales
    • Become An Affiliate
  • Learn
    • Online Courses
    • Accessibility Meetup
    • Articles & Resources
    • Accessibility Craft Podcast
    • Upcoming Events
    • Office Hours
    • Custom Accessibility Training
    • Global Accessibility Awareness Day 2026
  • Contact Sales
  • My Account
  • Support
  • Checkout
Home / Accessibility Checker / Filter the post statuses scanned in the full site scanner (edac_scannable_post_statuses)

Filter the post statuses scanned in the full site scanner (edac_scannable_post_statuses)

Description

This filter allows you to modify the list of WordPress post statuses that Accessibility Checker will include in scans and accessibility reports. By default, Accessibility Checker scans content in the following five post statuses: publish, future, draft, pending, and private.

Using this filter you can add custom post statuses (such as those registered by third-party plugins or workflows) to be included in scans, or you can remove default statuses that you do not want scanned.

Note: This filter only affects the full site scanner. Accessibility Checker will still scan any individual page or post when it is opened in the editor, regardless of its post status. This is intentional — it allows content editors to get accessibility feedback on content at any stage of their workflow. If you need to delete the issues from the tables to clear them in reports you can use our WP-CLI commands.

Usage

add_filter( 'edac_scannable_post_statuses', 'my_custom_scannable_statuses' );

Parameters

ParameterTypeDescription
$scannable_post_statusesarrayArray of post status slugs that Accessibility Checker will scan. Default: [ 'publish', 'future', 'draft', 'pending', 'private' ]

Examples

Add a custom post status

If your site uses a custom post status (for example, a “ready for review” status registered by an editorial workflow plugin), you can add it to the list of scanned statuses so Accessibility Checker evaluates that content too.

function my_add_custom_scannable_status( $statuses ) {
    $statuses[] = 'ready_for_review'; // Replace with your custom post status slug.
    return $statuses;
}
add_filter( 'edac_scannable_post_statuses', 'my_add_custom_scannable_status' );

Remove a post status from scanning

If you want to exclude certain statuses — for example, preventing Accessibility Checker from scanning drafts so reports only reflect content that is live or nearly live — you can remove a status from the array.

function my_remove_draft_scannable_status( $statuses ) {
    return array_diff( $statuses, [ 'draft' ] ); // Remove 'draft' from scanned statuses.
}
add_filter( 'edac_scannable_post_statuses', 'my_remove_draft_scannable_status' );

Limit scanning to published content only

The following example replaces the entire list and limits Accessibility Checker to only scan content with a status of publish. This is useful if you want your accessibility reports and stats to reflect only what is currently visible to the public.

function my_published_only_scannable_statuses( $statuses ) {
    return [ 'publish' ];
}
add_filter( 'edac_scannable_post_statuses', 'my_published_only_scannable_statuses' );

Note: Returning an empty array from this filter will prevent Accessibility Checker from scanning any content and no accessibility stats or reports will be generated.

Since

This filter was added in Accessibility Checker 1.29.0.

Source Code

This filter is located in get_scannable_post_statuses() in /admin/class-settings.php.

Primary Sidebar

Equalize Digital Accessibility Checker. Start making your WordPress Website Accessible Today. Get Accessibility Checker Now.

Frequently Asked Questions

  • How to Install & Activate Accessibility Checker
  • Getting Started Quick Guide
  • Why Do We Say 100% Passed Checks, Not 100% Accessible?
  • Manual Accessibility Testing: How You Can Check Website Accessibility
  • Dismissing and Reopening Accessibility Issues
  • What to do if There are Accessibility Problems in Your Theme
  • What to do if a Plugin You’re Using has Accessibility Problems
  • 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 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
  • How to Use Accessibility Checker to Scan Archive Pages
  • Using the Screen Reader Only Text Format in the Block Editor

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
  • 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

© 2026 Equalize Digital · Privacy Policy · Service Terms · Software Terms · Data Terms

International Association of Accessibility Professionals member