FLUID-2384: Labels need a "for" attribute

Metadata

Source
FLUID-2384
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2009-03-19T12:13:32.000-0400
Updated
2009-03-25T10:46:49.000-0400
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. UI Options

Description

Labels need a "for" attribute

attribute = for
value = id

This will tell the AT what the label is for.

Another option would be to nest the labelled element inside of the <Label></Label> tags, but this is less prefered

Comments

  • Justin Obara commented 2009-03-19T12:14:15.000-0400

    Bug Parade 1.0 release

  • Antranig Basman commented 2009-03-24T02:47:49.000-0400

    Fixed at revision 6816.
    Required upgrade to renderer to support basic scr= cases (currently anything other than scr=ignore is treated as scr=null). Special-case recognition of UISelect with HTML select as label target.

  • Anastasia Cheetham commented 2009-03-25T10:29:43.000-0400

    The fix for this seems to work for the 'for' attributes now in the template.

    There is still the question of how to associated an overall label with a group of controls, for example the "Links" label with the set of checkboxes labelled "bold", "underline" and "larger". I've posted to the list for suggestions, and the most likely candidate seems to be using fieldset and legend, but there are styling issues with that. Continuing to seek information.

  • Justin Obara commented 2009-03-25T10:46:48.000-0400

    Verified fix using:

    FF3 (Mac OS 10.5)