Success Criterion 1.4.4 - Level AA
Ensure that the text in your app supports resizing. Users specify their preferred font size in the system settings. Text in your app should resize according to the preferred font size. This is especially important for visually impaired users because otherwise they might not be able to read the text. Text should not be abbreviated with dots.
1 in 3 users has adjusted their font size, mostly to a larger font size.
If text does not resize, people with reduced vision will not be able to read text properly.
When elements do not support multiple lines of text, important text may be lost.
“Is text displayed larger when setting a larger font size preference?“
This can be tested visually, set a larger font size in the system settings.
On Android, you can use Scale-independent Pixels to scale text. This unit ensures that the user's preferences are taken into account when determining the font size. We recommend to define the
textSize in your styles to make sure it's the same everywhere.
<style name="Widget.TextView"> <item name="android:textSize">18sp</item> </style>
On Android, you can avoid text truncation by removing all instances of
android:maxLines from your app. You should also avoid using fixed values for any heights or widths and instead use
wrap_content where possible.
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Avoid text truncation" android:maxLines="REMOVE" />