Improve Accessibility for Expand/Collapse Functionality on Course Home Page #1694
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request resolves the button accessibility issue on the course outline page in the Tutor Indigo theme identified during a recent accessibility review. This update aims to improve usability for all users, especially those relying on assistive technologies. The changes also help ensure compliance with recognized accessibility standards, such as the Web Content Accessibility Guidelines (WCAG) 2.1.
For further details, please refer to the related issue: overhangio/tutor-indigo#146.
Improve Accessibility for Expand/Collapse Functionality on Course Home Page
Accessibility enhancements were made to the expand/collapse functionality on the course home page to improve screen reader support:
"Expand all sections"
and"Collapse all sections"
respectively. This provides clear context to users of assistive technologies."Expand section [Title]" or "Collapse section [Title]", which clearly communicates the action and associated section to screen reader users.
These changes enhance usability and ensure better alignment with WCAG 2.1 accessibility guidelines.
Accessibility Audit Report
For the full audit and issue breakdown, please refer to the following report:
Accessibility Audit