This plugin is a scheduled task that scans your Moodle instance for PDFs, and performs accessibility checks on them. Results can be viewed from the plugin table in your Moodle database, or through your Moodle site using the block_accessibility_filescan plugin.
- Moodle 4.00+
poppler-utils
MOODLE_WWW_ROOT=/path/to/your/moodle
git clone https://github.com/Swarthmore/moodle-local_accessibility_filescan $MOODLE_WWW_ROOT/local/accessibility_filescan
This plugin will find PDFs across your Moodle instance, then scan them for accessibility. The plugin scans for the following:
- Does the PDF has OCR'd text?
- Is the PDF tagged?
- Does the PDF have a language?
- Does the PDF have a title?
- Page count
PDFs are scanned at intervals in accordance to Moodle's cron system and results are stored in the plugin's database table.