Ensure elements with multiple labels are rendered appropriately

Description

The "Upload Files" page of the Resources section of the environment provides a method for users to upload files of their own to the shared resources of Sakai. Below the file uploader a radio button group is implemented that visually presents the question "Availability, Uploaded items should be". However, this label is not associated programmatically with the radio button group and therefore screen reader users will have difficulty discerning the purpose of the radio button controls.

Developers must ensure that all radio button groups properly reference the question text they pertain to. As this particular group provides the question text “Availability, Uploaded items should be” in an <h4> element, this can be referenced by utilizing the HTML <fieldset> and <legend> attributes. The following code is provided as an example of this remediation.

http://qa03-sakai.marist.edu:8080/portal/site/e72d72d4-f582-4dce-8261-6b923060787c/tool/2f629dad-7e64-41c5-bb12-64d95eb17a15/sakai.resource.type.helper.helper#cc7dee76ab45bf39c2bfc78c8a799615-HTML

Attachments

1

Activity

Show:

Matt Clare February 13, 2017 at 1:18 PM

Tested on https://trunk-mysql.nightly.sakaiproject.org on Monday February 13, 2017 with Chroemvox https://www.screencast.com/t/3w0JbSF3hc2

Looks good. Thanks for your patience.

Sam Ottenhoff February 13, 2017 at 8:44 AM

Not Edit Details. "The "Upload Files" page of the Resources section "

Matt Clare February 13, 2017 at 8:39 AM

Pardon my .git-ignore'ance, but if this is merged, how come I can't observe it in trunk?

trunk-mysql.nightly.sakaiproject.org, "Edit Details" on a folder, no instances of <fieldset>?

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created July 29, 2016 at 2:56 PM
Updated February 13, 2017 at 1:18 PM
Resolved January 27, 2017 at 5:32 PM