-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create how-to-test-ios.md init * Update how-to-test-ios.md add dark mode * Update how-to-test-ios.md add new screenshots * Update how-to-test-ios.md add more screenshots * Update how-to-test-ios.md align text and image * Update how-to-test-ios.md missing character in keyboard paragraph * Update how-to-test-ios.md corrections vince * Update how-to-test-ios.md remove character line 126 * Update how-to-test-ios.md corrections --------- Co-authored-by: Vincent Aniort <[email protected]>
- Loading branch information
Showing
1 changed file
with
130 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
--- | ||
title: "Testing the accessibility of an iOS application" | ||
abstract: "Description of the main testing tools and methods to quickly assess the accessibility of an iOS application" | ||
titleBeforeTag: true | ||
date: "2024-03-08" | ||
tags: | ||
- 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". | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/79ec9de6-f042-4ef0-8387-0c709766dcc4) | ||
|
||
|
||
**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". | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/e9162977-15bf-44ad-bbdf-683f942683a5) | ||
|
||
|
||
### 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” | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/df6741a8-d52e-46dc-a900-65f538d2378d) | ||
|
||
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.). | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/500c9aae-f691-47c4-8afc-f5dcfc523811) | ||
|
||
|
||
|
||
### 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. | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/efa80d57-a809-4912-9336-294b34953a6f) | ||
|
||
|
||
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: | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/83408f02-edab-4456-bd48-9c7e2e778ffc) | ||
|
||
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. | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/df67fd18-b39c-475e-b8a8-9636a1470998) | ||
|
||
|
||
|
||
### 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). | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/c94e478c-eaf1-4589-b4e2-369573079df9) | ||
|
||
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. | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/d72cbac8-ce72-42f8-8b13-a36cc2f3bc24) | ||
|
||
2. One can increase text up to 310%, but accessibility recommendations require a correct display up to 235%. | ||
3. 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). | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/9bc33609-bdee-4a34-8a05-c45a89305b69) | ||
|
||
|
||
### 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). | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/0561fddb-e639-4754-a2c2-7bad673e0a79) | ||
|
||
2. Check that all texts and components are visible and meet the expected contrast levels. | ||
|
||
![](https://github.com/Orange-OpenSource/a11y-guidelines/assets/105045667/539031f1-910e-4762-801e-8ca34c8fdf8d) |