Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.5, 2.3.2, 3.2.1
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-35978-master -
-
3.3 sprint 2
Description
Issue
Context changes - Expand/collapse of comments are not being announced as opened or closed to screen readers users. It would be useful to rely on aria-live="polite" to tell screen readers if the comments are "live" (opened or closed) or provide another similar mechanism.
Semantics - The expand/collapse icon for comments should be coded using a <button> element and not a <a> element, as activating them is not leading the user anywhere (as would a link).
Standard Level
WCAG 2 3.3.2 (A) http://www.w3.org/TR/UNDERSTANDING-WCAG20/minimize-error-cues.html
WCAG 2 1.3.1 (A) http://www.w3.org/TR/UNDERSTANDING-WCAG20/content-structure-separation-programmatic.html
Impact
Serious
Serious
Example Link
http://accessibility.mroomstest.net/blog/index.php
Test Steps
- Login as user0
- Navigate to the link
- Expand and collapse the comments area under a blog post