You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This page is mainly intended for highlighting the current state of Accessibility in JavaFX and upcoming work.

Accessibility support for JavaFX encompasses three aspects:

  • Supporting High Contrast and Theming
  • Keyboard Navigation
  • Accessibility APIs and Assistive Technology support

High Contrast and Theming:

Theming can be achieved using high contrast style sheet provided with FX runtime. Currently this style sheet has to be loaded manually.You can do this using:

scene.getStylesheets().add("/com/sun/javafx/scene/control/skin/caspian/highcontrast.css"); 

This should however be triggered to auto-load when the platform theming is changed. This will require a triggering mechanism from glass.

Keyboard Navigation:

At present most controls can be navigated using keyboard except Charts.

Accessibility API and Assistive Technology support

 

The accessibility architecture is based on Microsoft UI Automation which helps provide us a
low overhead path to implementation on Windows. The design scales well to NSAccessibility protocol on Mac platform and AT-SPI on Linux.

  • Architecture
  • Supported AT technologies
  • Public APIs
  • FX application developer
  • Custom Controls developer
  • What works today
  • Scale it further
  • Testing

 

  • No labels