A11YShortly

A11Y testing - Accessibility Tester

Accessibility (A11Y) of NetBeans IDE should be mainly tested by the a11y-tester tool available as a binary at http://wiki.netbeans.org/wiki/images/6/6f/Org-netbeans-modules-a11y.nbm

How to perform NetBeans A11Y testing - brief tutorial

Install a11y-tester plugin:

  • start NetBeans
  • select main menu Tools|Plugins
  • choose Settings tab and press Add button
  • type http://wiki.netbeans.org/wiki/images/e/e5/Updates.xml in the URL field
  • confirm the dialog and the Accessibility plugin appears in the Available Plugins tab
  • after the plugin is installed it forces restart of IDE
  • after the IDE restart the accessibility tester's icon (image:WheelchairIcon.gifwheelchair icon) appears in toolbar

Start a11y-tester tool:

  • click on the image:WheelchairIcon.gifwheelchair icon in toolbar
  • push Run test button in the tester's window
  • invoke Ctrl+F11 to test currently focused window (undock docked window if necessary)

Evaluate results:

  • output is by default in the console (all categories in output should contain "none" which means that no conflict is detected)
  • if a category in the output is not "none" then evaluate such a conflict and if you consider it as a bug then report it with A11Y keyword to netbeans bugzilla


How to perform testing of other Java SE application

  • download a11y-tester tool available as a binary at http://wiki.netbeans.org/wiki/images/6/6f/Org-netbeans-modules-a11y.nbm
  • replace its .nbm suffix by .zip and extract netbeans/modules/org-netbeans-modules-a11y.jar to your $JDKHOME/jre/lib/ext directory under your JDK installation
  • Modify (create one if it doesn't exist) your $JDKHOME/jre/lib/accessibility.properties file to include the following line: assistive_technologies=org.netbeans.a11y.tester.UIAccessibilityTester
  • after you follow instructions above the a11y-tester window should appear each time you run a java application. So once you type "java -jar ./your_java_application.jar" the a11y-tester appears.
  • you will need to push "Run test" button in the upper-left corner to be ready for testing
  • select any window/frame/dialog of your application and push Ctrl+F11 and in a while you have test result in the console
  • then evaluate results

Source code:

Module 'a11y' at: http://hg.netbeans.org/main/contrib

Accessibility Checker

The plugin for NetBeans IDE developed by The Czech Technical University with support of Sun Microsystems.

Source code:

Module 'a11ychecker' at: http://hg.netbeans.org/main/contrib

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo