Orphaned labels should be removed (changed to non-label tags)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Robert Lyon |
Bug Description
The WAVE accessibility checker gives errors for <label> tags which don't have a 'for' attribute. Although this doesn't seem to be required by the WCAG specification itself, it would be nice to remove these so that Mahara's pages validate properly.
Affects the following areas
- Pieforms labels when the element doesn't use the correct ID (eg. for radio buttons the automatically generated label ends up not linking to anything)
- Profile sideblock ("My Groups" and "Artefacts" use the label tag unnecessarily)
- When editing the pages in a collection, the page titles use the label tag unnecessarily (it would be nice to change them to headings)
- On a group's "About" page the statistics ("Created", "Members", etc) use the label tag
- On a group's "Forums" page the "Group administrators" text uses the label tag
In all these cases the label tag should be changed to something more appropriate (<strong>, <h3>, etc) or the "for" attribute should be removed and aria-labelledby added to any elements which the label should describe
Affects latest master
Changed in mahara: | |
status: | New → Confirmed |
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Lyon (robertl-9) |
milestone: | none → 1.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3385