JDK-7025699 : Policy Tool is not accessible by keyboard
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2011-03-08
  • Updated: 2014-01-21
  • Resolved: 2013-10-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b113Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8025973 :  
JDK-8025974 :  
JDK-8026929 :  
Description
As part of JDK accesibility requirements from Oracle, all the products shipped should be accessible.

PolicyTool.exe is part of JDK and it is not accessible.  Most of the features are not accesibile by just using the keyboard.  Following are some of the issues.  

1.  Enter key event is not listened on the ADD / Edit / Remove Policy Entry, as in the mouse click.  So the Policy Entry dialog is not getting popped up

2.  Key accelarators are present for File and KeyStore Menu Items	

3. Clicking Enter on the Add / Edit / Remove Principal is not working

4. Clicking Enter on the Add / Edit / Remove Permission is not working. 

Overall this tool is not in compliance with the recommended accessibility standards.
High Contrast Mode is also not working, please see the attached image (PolicyTool-HighContrast.png)

Comments
verify steps at windowsXP, windows7: 1 download http://jre.us.oracle.com/java/re/jdk/8.0/promoted/all/b108/bundles/windows-i586/ 2 unzip jdk, and run policytool.exe. 3 use keyboard to add/edit/remove policy. failed 4 download http://jre.us.oracle.com/java/re/jdk/8.0/promoted/all/b1114/bundles/windows-i586/ 5 unzip jdk, and run policytool.exe. 6 use keyboard to add/edit/remove. success
21-01-2014

There is no regression test. The verification needs to make sure the functions of policytool can be performed with keyboards. This is undoable as a regression test. Maybe the SQE test harness includes robotic tools to do it automatically. Otherwise, an SQE manual test should be provided. I am not sure what sqebug means. None of the tests listed in your comment is related to this bug.
06-12-2013

The fix includes porting PolicyTool from AWT to Swing, defining mnemonics for menu items and buttons, and adding keyboard shortcuts for the File -> New/Open/Save items.
04-10-2013