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?
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.
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.
You cannot stop the user from changing the system font size; you'll just have to use dp and ignore the lint errors!
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With