SYNOPSIS
---------
RFE Contribution :Accessibility support in Control Panel's "update" panel and "delete files" dialog
OPERATING SYSTEMS
-----------------
All (tested on Windows and Linux)
PATCH BASE
----------
The attached patch is based on JDK 7u6-b17.
JDK VERSIONS
------------
All
DESCRIPTION
-----------
The attached fix is dependent on the suggested fix for CR 7186087 - it modifies AccessibilityUtils.java which was added as a new file in this earlier fix.
Accessibility enhancements in accordance with the Licensee's software accessibility guidelines below:
#2.2 Provide semantic information about user interface objects. When an image represents a program element, the information conveyed by the image must also be available in text.
#2.3 Associate labels with controls, objects, icons and images. If an image is used to identify programmatic elements, the meaning of the image must be consistent throughout the application
( http://www-03.ibm.com/able/guidelines/software/accesssoftware.html )
Control Panel's "update" panel and "delete files" dialog do not adhere to this guideline.
REPRODUCTION INSTRUCTIONS
-------------------------
Install the JDK/JRE and follow the steps below to see the controls with the accessibility problems:
Launch ControlPanel, choose Update tab, use any accessibility tool to read the name and description
Controls (logo, drop down, buttons, label) in the update panel does not have accessible name/description
Label "Notify Me" is not associated with drop-down
Launch ControlPanel-> General tab -> settings -> Delete Files, it brings up delete files dialog, use any accessibility tool to read the name and description
Button and Label does not have accessible name or description
SUGGESTED FIX
-------------
Fix includes changes to three files:
DeleteFilesDialog.java
Added description for label and buttons ok and close
WinUpdatePanel.java
Added name/description to Java logo
Added accessible relation for combo box using "notify me" label
Added descriptions for buttons, combobox, label
AccessiblityUtils.java
Modified setMnemonic function to suit 7u6, used getMnemonic instead of getVKCode
Modified setRelation function for correctness