fix_accessibility_issues
Apply automated fixes to resolve accessibility issues in Canvas course content. Preview changes with dry_run before applying corrections for missing table headers, low contrast text, and other problems.
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.
Args:
course_identifier: Course code or Canvas ID
fix_types: 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
content_types: Comma-separated types to fix: pages, assignments
dry_run: If True, preview changes without applying. Set False to apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_identifier | Yes | ||
| fix_types | No | th_scope,low_contrast,legacy_designplus,redundant_alt_prefix | |
| content_types | No | pages | |
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |