Updated: June 10, 2019

Accessibility

Intro

SAP Fiori for iOS aims to help you create applications that can be used by a wide range of people and to provide an optimal and pleasant experience for every user, including individuals with visual, motor, auditory, speech, or cognitive disabilities. Our components are flexible, readable, adapt to different screen sizes, and support a wide range of text sizes.

Color Contrast Ratio

To ensure that your users can easily read and make out the text and visual elements in your app, you need to employ a sufficient color contrast. When text and icons have insufficient color contrast, they may appear to blend in with the background, which can lead to usability issues. It’s recommended to strive for a 4.5:1 color contrast ratio at a minimum, though a 7:1 ratio is preferred. To determine the appropriate color contrast ratio, use an online color contrast ratio calculator.

The color palette of Fiori for iOS has been validated for enough color contrast. See Colors.

 

Dynamic Type

Built-in Text Styles

Applying iOS built-in text styles allows your app to take advantage of accessibility features, such as Dynamic Type, which provides users the flexibility of choosing their preferred text size. It also automatically adjusts tracking and leading for every font size.

SAP Fiori for iOS uses the iOS system fonts, and supports dynamic type to enable accessibility features. Learn more in Typography.

Here are some examples of our components adapting to larger text sizes, and a few tips when designing a custom component.

 

Prioritizing Content

In this example, the description of the object cell is hidden in larger text size settings. Since object cells are typically used for previewing an object, it is reasonable to remove secondary information temporarily in order to help the user to focus on more important content.

 

Rearranging Layouts

Sometimes it is necessary for a component to rearrange its layout in larger text size settings. The image and status of the object header move to the top of the component, allowing text labels below them to have more space to grow.

 

Stacking Text Labels

Form cells should adapt to larger text sizes by vertically stacking the key label and value. It is also crucial to allow text labels to display more content before truncating.

 

iOS Accessibility Features

In addition to color contrast ratio and dynamic type, there are more ways to ensure that your app is accessible to everyone. iOS provides guidance on how to enable accessibility features such as voice over, reading support, switch control, dictation, and much more. See iOS accessibility.

 

Resources