-
Functional Test
-
Minor
-
Moodle 4.3
- This test requires a publicly available site with admin access.
- An account needs to be created on the Brickfield Portal in order to obtain an API and secret key to activate the Accessibility toolkit plugin.
- A course containing some content with accessibility issues to submit for analysis.
- If you are running this test on your own test site, to speed up processing task run rates, the following scheduled tasks may be changed to run every minute rather than the default 5 minutes:
- Process bulk caching
- Process bulk batch accessibility checking
- Process content analysis requests
Brickfield settings and registration
- As admin and go to Site administration > Plugins > Admin tools > Accessibility > Brickfield registration.
- Verify that a notification is displayed stating 'The plugin is inactive and cannot be used.'
- Verify that there is a link to 'register your details' on the external Brickfield Portal site.
- Verify that all other accessibility plugin pages redirect you back to the registration page as they are currently inactive.
- Log in to the Brickfield Portal and obtain an API and secret key for your Moodle site.
- Return to Site administration > Plugins > Admin tools > Accessibility > Brickfield registration and enter the API and secret key, then click on "Activate" to complete your registration.
- Verify that a notification is now displayed stating 'Your accessibility toolkit is still being validated'.
- Wait for the Accessibility toolkit scheduled tasks to run then verify that a notification is displayed stating 'The plugin is activated and ready to use.'
- Verify that you can now go to the other Accessibility toolkit pages.
If cron is running normally, and 'Your accessibility toolkit is still being validated' is still showing after these steps, check the registration page again, at Site administration > Plugins > Admin tools > Accessibility > Brickfield registration to ensure the keys have not been rejected as invalid.
Accessibility toolkit analysis requests
- Still logged as an administrator and go to Site Administration > Plugins > Admin Tools > Accessibility > Accessibility toolkit settings.
- Uncheck 'Enable analysis requests' setting and save changes.
- Go to any course and click 'Accessibility toolkit' in the menu.
- Verify that the page states 'Content analysis is disabled'.
- Return to the Settings page, check 'Enable analysis requests' and save changes.
- Go to any course and verify that the Accessibility toolkit page now has a 'Submit for analysis' button.
Teacher can request an accessibility analysis for a course
- As teacher, go to a course and click 'Accessibility toolkit' in the administration menu.
- Click on the "Submit for analysis" button and verify you are redirected back to your course
- Visit the "Accessibility toolkit" page again and verify that a message is displayed stating "This course has been scheduled for analysis."
- Take a break and wait for the analysis to be completed. The analysis will be processed in the background by scheduled tasks, so its speed of completion will depend on task timings and task run schedules.
- Click "Accessibility toolkit" again and verify that the accessibility analysis for the course is now displayed.
- Verify that a list of errors is displayed, each with a related "Edit" link, which will directly send you to edit the content where it's located.
- Check for at least 3 different errors that the "Edit" link sends you to the correct location in the course content that requires resolving.
- Click on the "Activity breakdown" tab.
- Verify that a bar chart is displayed showing the pass ratio for each activity type in the course and text with a heading "Activity breakdown explained" is also displayed.
- Click on the "Content types" tab.
- Verify that a donut chart is displayed showing the total errors per content type in the course and text with a heading "Content types explained" is also displayed.
- Click on the "Summary report" tab.
- Verify that the following tables are displayed: Top errors, Failed activities, Check errors, Activity pass ratio, Error details.
- Click the "Download PDF" link and verify that the downloaded PDF shows the summary report.
- Click on the Advanced tab.
- Verify that information regarding features in the commercial versions of the Brickfield Accessibility Toolkit is displayed.
- is a QA test written for
-
MDL-69863 Brickfield Education Labs accessibility toolkit core integration
- Closed