fix_accessibility_issues
Automatically fix accessibility issues in Canvas course content. Preview fixes with dry_run, then apply them by setting dry_run=false.
Instructions
Auto-fix accessibility issues in Canvas course content.
Applies automated fixes for issues flagged as auto_fixable by the scanner. Run scan_course_content_accessibility first to see what will be fixed. Default is dry_run=True (preview only). Set dry_run=False to apply changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If True, preview changes without applying. Set False to apply. | |
| fix_types | No | Comma-separated fix types to apply: th_scope - Add scope="col" to <th> without scope low_contrast - Fix white text on #ff5f05 orange backgrounds legacy_designplus - Migrate kl_ classes to dp- equivalents redundant_alt_prefix - Remove "image of" prefix from alt text | th_scope,low_contrast,legacy_designplus,redundant_alt_prefix |
| content_types | No | Comma-separated types to fix: pages, assignments | pages |
| course_identifier | Yes | Course code or Canvas ID |