RAAM 1: Testing methodology
Unlike web content, where it is possible to inspect the source code to determine the presence of elements or attributes, it is very difficult to do the same for mobile applications. On the one hand, because this would require a high level of technical expertise (you can access the software, but rarely its code, unlike a website). On the other hand, because unlike the web and HTML / CSS / JavaScript technologies there is a diversity of development environments which makes it difficult to define a list of tests based on code review.
This is why the chosen approach is to test for the presence of certain elements using specialised tools (interface inspectors, assistive technologies, external switches) or directly on the interface itself.
For example, when the interface contains an graphic element conveying information, the criterion asks you to check that an alternative is available and relevant, without giving any further details on the techniques to be used to provide an alternative to a graphic element. To help with the assessment, each criterion has a practical methodology (which is non-normative) setting out a possible method of assessing the criterion.
We would also refer you to the documentation provided by language publishers and application creation software publishers, which sets out the features to be respected, the properties to be used and, in some cases, specialised tools for inspecting the interface or the code.
Editor resources
Android
- Android Accessibility Help: description of the assistive technologies and accessibility features available on Android systems.
- Test your app's accessibility: presentation of tools and methods for evaluating the accessibility of Android applications.
- Make apps more accessible: general development principles for complying with certain accessibility rules.
- Build accessible apps: a set of resources for designing and developing accessible Android applications.
iOS
- iOS Accessibility: description of assistive technologies and accessibility features available on iOS systems.
- Human Interface Guidelines: general accessibility principles for mobile application interfaces on iOS.
- Videos and tutorials: a collection of videos demonstrating assistive technologies available on iOS or presenting technical development methods for taking accessibility into account.
Evaluation tools
To assess the criteria in the framework, it will be useful to carry out tests using the parameters and assistive technologies of the platforms.
This section does not attempt to provide exhaustive documentation or detailed explanations on how to use these elements. Nevertheless, the essential elements for an evaluation process are listed, with links to official documentation where possible, and with configuration or understanding help where necessary.
Screen reader
The screen reader is one of the tools that will be most widely used to evaluate the accessibility of applications. Screen readers are mainly used by blind or partially-sighted people to interact with an application.
Some criteria involve assessing the compatibility of components with assistive technologies (including the screen reader), but the screen reader is also used to assess criteria that also have an impact on other assistive technologies.
VoiceOver on iOS
VoiceOver is the screen reader integrated into iOS.
Documentation
To get started with VoiceOver, we refer you to the official documentation, which explains the first steps for activating and using gestures.
- Turn on and practice VoiceOver on iPhone.
- Change your VoiceOver settings on iPhone
- Use VoiceOver gestures on iPhone: this page explains the gestures available for navigating interfaces with VoiceOver.
- Control VoiceOver using the rotor on iPhone: the rotor is a central element in VoiceOver navigation. It lets you select a type of element (link, button, header, etc.) as the target for quick navigation (drag up/down). It is important to know that it exists and how to use it. See also the list of parameters that can be found in the rotor.
Voice output display
It is useful to be able to view the voice output. In iOS you can activate the caption panel, which displays VoiceOver announcements in text format at the bottom of the screen. To do this, go to Settings > Accessibility > VoiceOver and at the bottom of the settings screen activate the "Caption Panel" setting.
TalkBack on Android
TalkBack is Android's built-in screen reader. To take advantage of more options, you may need to install a third-party application (developed by Android): Android Accessibility Suite.
Documentation
To get started with TalkBack, we refer you to the official documentation, which details the first steps for activating and using gestures.
- Turn on TalkBack.
- Learn about TalkBack settings.
- Use TalkBack gestures.
- Use the TalkBack menu & reading controls: playback control (or playback controls) is a feature similar to VoiceOver's rotor, allowing you to select types of item (links, buttons, headings, etc.) for quick navigation (drag up/down).
Voice output display
It is useful to be able to view voice output. In TalkBack you can activate a parameter that displays TalkBack announcements in text format at the bottom of the screen. To do this, go to Settings > Accessibility > TalkBack > Settings > Advanced settings > Developer settings and activate the "Display speech output" setting.
Depending on the version of Android you're using, the path to the TalkBack "Display speech output" setting may not be exactly the same.
External keyboard
Not all users with a motor disability will be able to use the touch interface, so they will need to interact via an external switch: keyboard or other external device.
In order to test the criteria related to the use of applications with an external keyboard, it will be necessary to connect an external keyboard to the device and set a number of parameters in the platforms.
iOS
To enable the device to be controlled by an external keyboard, the "Full keyboard access" option needs to be activated. To do this, go to Settings > Accessibility > Keyboards > Full keyboard access and activate "Full keyboard access".
iOS allows you to specify a focus style for users using an external device (Settings > Accessibility > Keyboard > Full Keyboard Access). The user can choose:
- to hide it automatically after a configurable time;
- to increase the focus size;
- to increase the contrast;
- the colour.
Android
Using an external keyboard with Android requires a few additional settings to be effective. In order for the interfaces and functions to be fully accessible from the keyboard, you need to use the Switch Access application with an external keyboard.
A configuration guide allows you to configure your external keyboard step by step by defining switches. It is available in Settings > Accessibility > Switch Access > Settings > Open setup guide. You will associate two actions:
- Next: press the key on the keyboard you wish to associate (we recommend Tab to retain the keys used when browsing on a computer).
- Select: press the key on the keyboard you wish to associate (we recommend Enter to retain the keys used when navigating on a computer).
Once you have completed the first configuration stage (using the configuration guide), you will need to set up other navigation keys:
- Switch Access > Settings > Assign switches for scanning: Associate the Previous setting with a key or key combination (we recommend Shift + Tab)
- Switch Access > Settings > Assign switches to global actions: Associate the Back parameter with a key or key combination (we recommend ESC)
Test applications
iOS (macOS)
Some methodology elements will offer you several test methods, often as an alternative to assistive technologies for evaluating elements. With iOS, it is possible to connect the device to a computer with macOS and use the Accessibility Inspector application.
The Accessibility Inspector is available from Xcode, used for developing mobile applications. This tool is useful for carrying out certain tests. To activate it, launch Xcode, then from Xcode, follow the path Xcode > Open Developer Tool > Accessibility Inspector.
Android
To carry out certain tests on Android applications, third-party applications are required or can help you with the evaluation.
- Android Accessibility Suite: Android application for adding options and gestures to the Talkback screen reader.
- Accessibility Scanner Android application that enables automatic tests to be carried out for certain criteria. Once installed, access the application from Settings > Accessibility > Installed Services > Accessibility Scanner.
iOS and Android
- Colour Contrast Analyser (CCA): tool for evaluating contrasts from the computer, available on Mac and Windows.
Broadcast the screen of the mobile device
Broadcasting the screen of your mobile device on your computer will make it easier for you to carry out certain tests, such as contrast tests. It can also be used to record certain interactions and take screenshots when writing audit reports.
Broadcasting the mobile device is not an essential requirement for evaluating applications, but it is nevertheless useful because it can facilitate certain evaluation activities.
iOS
You have a computer with macOS
- Connect the iOS device to the macOS computer using the USB cable.
- Open the QuickTime software and in the File menu, select "New video recording".
- A window will open showing an image from your computer's camera. Click to the right of the red record button to change the source and choose your device.
- The screen of your mobile device will now be displayed on your computer.
You have a computer running Windows
There are a number of software (free or paid) that allow you to stream your iOS device to a Windows computer.
Android
There is an open source application that allows you to stream an Android application to Windows and macOS: SCRCPY.
Installing it on a macOS environment may require some technical knowledge. On Windows, it can be used like a standard application. However, it is not essential that you project your mobile device, you can do without this installation (another method is detailed later in the document).
If you have a computer running Windows
Windows provides an integrated "Connect" function for broadcasting certain external sources. See documentation.
Take screenshots
If it is not possible to broadcast from mobile devices onto the computer screen, a satisfactory alternative is to take screen captures from your mobile device and then import these captures, using the method of your choice, onto your computer.