Check accessibility (FR)

Perfecto Command

mobile:checkAccessibility:audit

Purpose

The check accessibility command performs an audit of the accessibility features in the application. To check the entire application, this command needs to be repeated for each application screen.

Parameters

Name Type Possible Values Description
tag String
The tag that is appended to the name of the audit report to help match it to the application screen.

Return Value

N/A

Exceptions

None

Examples

Copy

Java example

//declare the Map for script parameters
Map<String, Object> params = new HashMap<>();

params.put("tag", "login-screen");
driver.executeScript("mobile:checkAccessibility:audit", params)
Copy

C# sample

//declare the Map for script parameters
Dictionary<String, Object> pars = new Dictionary<String, Object>();
  
pars.Add("tag", "login-screen");
driver.ExecuteScript("mobile:checkAccessibility:audit", pars);