• 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
    • 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
  • Contact Sales
  • My Account
  • Checkout
Home / Accessibility Checker / Block PDF Uploads (Pro)

Block PDF Uploads (Pro)

This fix is only available in paid versions of Accessibility Checker.

Are users uploading inaccessible PDFs to your website inviolation of accessibility guidelines? This article explains how you can restrict the ability to upload PDFs in WordPress to only users with a specific capability, limiting the ability for content authors to upload unapproved PDFs.

How to Block PDF Uploads in WordPress

If you want to block which user roles can upload PDFs to the WordPress media library, this can be easily be achieved using the paid version WordPress Accessibility Checker plugin.

Step 1

Click into the Accessibility Checker plugin settings in your WordPress dashboard (you must be logged in with an administrator account to access these settings).

Arrow pointing to the Settings page in the WordPress admin menu, which can be found under the Accessibility Checker top-level page.

Step 2

Go to the “Fixes” tab in the Settings Tabs navigation.

Arrow pointing to the Fixes page in the Settings tab navigation below the Accessibility Checker Settings H1.

Step 3

Check the box for Block PDF Uploads, then scroll to the bottom of the page and click the “Save Changes” button.

Checkbox labeled:  Restrict PDF uploads for users without the edac_upload_pdf capability (allowed for admins by default).

What This Fix Does

When enabled, the Block PDF Uploads fix prevents non-administrator users from uploading PDF files to your site. This means, Editors, Authors, and any other user roles that have the ability to upload files will no longer be able to upload PDFs. If they attempt to upload a PDF, they will be presented with an error message and the file will be rejected.

WordPress admin error message with the name of the PDF, a descriptive message, and a Dismiss Errors button.
Error message shown to users without PDF upload capabilities when they attempt to upload a PDF: “Sorry, the website administrator has blocked PDF uploads for your user role. Please contact an administrator for support or to have them upload the file.”

WordPress admins will always be able to upload PDFs. If you want to grant other user roles this capability, you can do so adding a capability to the user role, as described below.

How to Grant PDF Upload Capabilities to Additional User Roles

By default, when enabled the Block PDF Uploads setting only allows PDFs to be uploaded by users with an “Administrator” user role. All other user roles will be unable to upload PDFs.

If you want to allow certain user roles, in addition to administrators, the ability to upload PDFs, then you can do this by granting those user roles the edac_upload_pdf capability.

You can add capabilities to user roles with a plugin (no code) or by writing custom code in your theme functions file. The easiest way to add a capability to a user role is by using the free User Role Editor plugin available on WordPress.org.

For code examples on adding capabilities to user roles, see the Roles and Capabilities WordPress Developer Documentation.

Impact on Accessibility

Blocking PDF uploads helps maintain control over the types of content added to your website, ensuring that all uploaded files are thoroughly reviewed for accessibility.

PDF documents are often less accessible to users with disabilities, particularly when they aren’t created with accessibility in mind. They also can be annoying for all users to read on mobile phones as they are optimized for print and are not mobile responsive.

By restricting PDF uploads, you can reduce the chances of inaccessible content being added to your site, thereby improving the overall accessibility for your users.

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