ICEfaces
  1. ICEfaces
  2. ICE-10721

ACE components built-in label rendering should use <label> element.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4, ACE components
    • Assignee Priority:
      P2

      Description

      As of ICEfaces 4.0, the built-in label rendering feature of the ACE input components renders out the label text using a SPAN element. This improvement JIRA is to modify the renderers to instead use a LABEL element for label positions other than "in-field".

      The benefits of this change are that by using the <label> element the browser will automagically set the focus on to the corresponding input element when the label is clicked by the user (this may required further structural changes in the rendering of the component to work properly).

      Also, when a LABEL element is associated with an input element the input element will automatically use the label txt as the ARIA accessible name, so long as the input element itself is considered a labelable element. See http://www.w3.org/TR/aria-in-html/ for more information.

       

        Issue Links

          Activity

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: