Testing the accessibility of an iOS application

Associated themes :
  • Mobile
  • Beginner

Presentation and configuration of accessibility options #

Presentation of the main options #

  • Voice Over: the screen reader for all Apple devices (iPhone, iPad, MacOS). It allows you to vocalize all the (useful) information present on the screen. It's an essential tool for blind and visually impaired people.
  • Switch control: this option allows the control of the phone with an external contactor, head movements, or even sounds. This tool is mainly used by people with motor disabilities who can't perform touchscreen gestures.
  • Keyboard navigation: enable this feature to use your phone with an external keyboard (usually via Bluetooth). It's useful for people who have difficulties using the touch screen due, for example, to motor impairment.
  • Voice control: option to control a phone only with the voice. It's essential for people who cannot physically interact with the device or an external contactor.
  • Larger Text size: increase text size, only useful with applications that manage this option.

Accessibility shortcuts setting #

For greater convenience, it is recommended to add the essential tools in the accessibility shortcuts:

  • Settings > Accessibility > Accessibility Shortcut.

  • Choose: "Switch Control", "VoiceOver“, "Voice Control" and "Full Keyboard Access".

The accessibility shortcut is activated by pressing the iPhone side button 3 times.

You can also add an accessibility shortcut to the control center (Settings > Control Centre) to access it without using the side button.

Take the opportunity to add also the Large text enlargement option, "Larger font".

Switch Control setting #

Go to Settings > Accessibility > Switch Control > Switches.

Without external devices, you can easily configure:

  • mode: "Full Screen"

  • type: “Screen”

  • action: “Select Item”

With these options, a succession of taps anywhere on the screen will allow you to control the progress of the focus and the associated actions (we will detail this use below).

Getting started with accessibility options #

VoiceOver #

Navigating with the screen reader is not always easy when you are starting, but a few simple basic gestures allow you to navigate within an application.
A detailed description of these actions is available on the following page: https://a11y-guidelines.orange.com/en/mobile/ios/voiceover/.

By using VoiceOver, you can verify that all the essential information for understanding and navigation is rendered by the screen reader, including:

  • interactive elements (buttons, links, checkboxes, etc.),
  • the status of the elements (checked or not, selected or not, unfolded or not, etc.),
  • the page titles must be read to allow users to be informed of a screen change and understand the context,
  • content changes or temporary messages must also be read (alerts, errors, messages, etc.),
  • the consistency between VoiceOver reading order and the visual order of information presentation.

Switch Control #

Using the Switch Control allows you to mainly check: the focus order and the accessibility of interactive elements.

  1. Enable Switch Control.

  2. The focus is then displayed and begins to move from one container to another (for example: the header, the main view, the navigation bar, etc.).

  3. To make the focus move on the different interactive elements inside a container, simply tap once when the focus comes to that container.

  4. Then an additional tap will bring up the possible interaction options with each element having the focus (tap, scroll up/down, drag, etc.).

Keyboard navigation #

It is possible to use your phone only with an external keyboard.

  1. Connect a keyboard to the phone.

  2. Enable "Full Keyboard Access" option.

  3. Now, all features available by touch gestures should also be operable with the keyboard.
    Navigating is similar to a desktop keyboard, TAB key to move forward, SHIFT+TAB to go back, SPACE to activate an element. But, combinations are also specific to the iOS mobile environment:

  4. Keyboard navigation also allows you to check that the navigation order is consistent.

  5. If the focus is not visible enough, it is possible to increase its contrast in the option settings.

Voice control #

When "Voice Control" is enabled, you can say commands like:

  • "Return to home screen"
  • "Touch item name"
  • "Open app name"
  • "Turn up the volume"

By default, element names are superimposed. Also, for an application to be controllable in this way, the interactive components must have a simple and consistent accessible name (in particular in the case of a link image or button image without a visible label).

It's also possible to display the number of the elements or even a numbered grid to reach them.

Larger text #

  1. Increase the text size using the shortcut configured above.

  1. One can increase text up to 310%, but accessibility recommendations require a correct display up to 235%.

  2. If the application has been designed to support enlargement (Dynamic Type), then the texts will be correctly rendered, readable, and without loss of information (no truncated text or superposition).

Dark mode #

As the dark mode is used more and more, so it's strongly recommended to test your application by activating “dark mode”.

  1. Go to Settings > Display & Brightness (or directly from Control Centre).

  2. Check that all texts and components are visible and meet the expected contrast levels.