ICEfaces
  1. ICEfaces
  2. ICE-6041

TabIndex causes focus issue when toggling through selectOneRadio using keyboard

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P01
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE7/8, FF3.6.9
    • Workaround Exists:
      Yes
    • Workaround Description:
      Do not use tabIndex.

      Description

      The tabIndex attribute is causing a focus issue with the ice:selectOneRadio. When navigating the form using the keyboard and tabbing into an ice:selectOneRadio, focus is placed on the parent element and not the first radio item in the list. When you hit tab again, you proceed to the next component. However, hitting tab again places focus back onto the first radio item in the list. Test case attached. This issue does not occur when the tabIndex is removed.

        Activity

        Hide
        yip.ng added a comment - - edited

        Revision: 22989


        Modified : /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java
        Modified : /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java

        Revision: 22990


        Modified : /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java
        Modified : /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java

        Show
        yip.ng added a comment - - edited Revision: 22989 Modified : /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java Modified : /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java Revision: 22990 Modified : /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java Modified : /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java
        Hide
        yip.ng added a comment -

        Fixed.

        Note that once tabbed to a radio button group, the standard way of navigating within the radio buttons in the group is using the arrow keys.

        Show
        yip.ng added a comment - Fixed. Note that once tabbed to a radio button group, the standard way of navigating within the radio buttons in the group is using the arrow keys.

          People

          • Assignee:
            yip.ng
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: