Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How accessibility affect font sizes in iOS and Android?

I am a designer trying to design my typography for mobile apps. I have a question regarding how "accessibility" will affect the font sizes.

As in Android, you can change the font size scale from tiny to huge. By default it is "Small".

As I play around with the font size, it seems to me that some font sizes within an app will change and some will not. How can I tell which font will be affected by accessibility and which will not?

Similar to iOS as well, how well accessibility affect the font sizes?

like image 708
Vennsoh Avatar asked Jan 11 '16 01:01

Vennsoh


People also ask

What is accessibility font size?

Use a large enough font size for body text so that people can comfortably read. Use at least an effective size of 16px, but this can vary depending on the design of the font. Maintain a line length that promotes comfortable reading.

What is the impact of font size?

In a study released by The Poynter Institute they found that readers of news websites where encouraged to read more when the font was smaller, and scan more when the font was larger. In general the findings showed that readers where more focused on reading when the font was smaller than when the font was larger.

How do I stop system font size changing effects to Android application?

You cannot stop the user from changing the system font size; you'll just have to use dp and ignore the lint errors!


2 Answers

You can use dp for fixed pixel font sizes or sp for dynamic font sizes in Android. E.g.:

android:textSize="26sp" 

or

android:textSize="26dp"

User preferences will affect the first one. The second one not.

A good overview

like image 69
skymedium Avatar answered Sep 21 '22 07:09

skymedium


To understand how the font sizes work in iOS, take a look at the WWDC 2017 : Building Apps with Dynamic Type video whose content is perfectly summarized here.

The first two sections (Text styles and Custom fonts) should provide you important information about the connection between accessibility and the font sizes.

Everything is well explained to get a full understanding of how the text styles, the font sizes and the custom fonts must be used to have the expected response in iOS accessibility.

like image 43
XLE_22 Avatar answered Sep 22 '22 07:09

XLE_22