Success Criterion 1.4.10 - Level AA
Reflow
Ensure that all content on the screen remains readable even with the largest font. Content should be readable without having to scroll in two directions. Because the text is displayed larger, it can push other elements off the screen. Ensure content can still be reached, for example, by scrolling vertically.
Impact
Reflow allows visually impaired people to clearly follow where text begins and ends.
Scaled text might push elements off the screen. This results in a loss of information.
Check
“Can all content be reached without scrolling in two directions?“
This can be tested visually, enable the largest font size.
Solution
Support reflow
On Android, all elements should be placed in a scrollable layout, such as a ScrollView
or RecyclerView
. Never use fixed values for any heights or widths.
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Content should scroll!" />
</ScrollView>