Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7198253

RFE Contribution : Focus support for interactive objects in Control Panel is missing

XMLWordPrintable

    • generic
    • generic

      SYNOPSIS
      --------
      RFE Contribution : Focus support for interactive objects in Control Panel is missing


      OPERATING SYSTEMS
      -----------------
      All (tested on Windows and Linux)

      PATCH BASE
      ----------
      The attached patch is based on JDK 7u6-b17.


      JDK VERSIONS
      ------------
      All


      DESCRIPTION
      -----------
      Java Control Panel accessibility enhancements in accordance with the Licensee's Software Accessibility guidelines below:

      #2.1 Provide a visual focus indicator that moves among interactive objects as the input focus changes.
      This focus indicator must be programmatically exposed to assistive technology

      ( http://www-03.ibm.com/able/guidelines/software/accesssoftware.html )


      REPRODUCTION INSTRUCTIONS
      -------------------------
      There are three issues involved, reproducible as follows:

      1. Launch ControlPanel and navigate to Advanced tab
      2. Press tab, Tree view does not gain focus => ISSUE 1
      3. Even we gain focus using mouse click, selecting/deselecting radio or checkbox using ctrl+space does not show where we are after the state change => ISSUE 2
      4. Navigate to Security tab -> Choose certificates button
      5. Press tab to navigate to components of certificates dialog
      6. On empty table, we cannot figure out where the focus is and we may not know whether to press tab (navigate within table) or control+tab (to come out of table and navigate to other controls) => ISSUE 3


      SUGGESTED FIX
      -------------
      Issue 1 - AdvancedPanel.java
      Implement FocusListener and add to tree

      Issue 2 - TreeRenderer.java, AccessibilityUtils.java
      Added method which sets line border for a component on focus gain and reset to custom border otherwise. The method is called for tree component checkbox, label, radio button with empty border as custom border.

      Issue 3 - CertificatesDialog.java
      Create table with one empty row to hold focus on table selection instead of having header alone. Also added a related fix - for a table which has only empty row, the export, remove and details buttons should be disabled

            vrao Vivek Rao (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: