Get The Accessibility Support Pack For Delphi XE8 Firemonkey On Windows And Mac OSX

  

Embarcadero has released a free accessibility pack for Delphi XE8 Firemonkey on Windows and Mac OSX.  The accessibility pack brings screen reader support to Firemonkey using the Microsoft Active Accessibility architecture and the OSX accessibility protocol (Apple VoiceOver). Obviously it does not include support for Android or IOS. However, you could possibly use the accessibility pack to do automated UI testing in Firemonkey on Windows. It appears to be as easy as added a couple units to your uses clause and using TAccForm which is derived from TForm. Here is the sample uses clause from the documentation:
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti,
System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms,
FMX.Dialogs, FMX.StdCtrls, FMX.ScreenReader
{$IFDEF MACOS}
, FMX.ScreenReader.Mac
{$ELSE}
, FMX.ScreenReader.Win
{$ENDIF}
;
There is built in accessibility support for the following Firemonkey controls: TButton, TSpeedButton, TTracker, TEdit, TListBox, TComboBox, TComboEdit, TSpinBox, TLabel, TCheckBox, TRadioButton, TMainMenu, TMemo, TTreeView, and TCustomGrid. If you need to have accessibility support in your own controls there are also instructions for using the IFMXAccessibility interface. The accessibility pack may also work with Appmethod. We’ve covered the accessibility pack previously for Delphi XE7 Firemonkey and Delphi XE6 Firemonkey.
Head over and download the Delphi XE8 Firemonkey Accessibility Pack from Embarcadero Code Central for free.

Comments are closed.