-
-
Notifications
You must be signed in to change notification settings - Fork 203
Description
Hi! I’m Ana Ferreira, a Master's student in Computer Science.
As part of my research on mobile accessibility, I am analyzing open-source Android applications to help identify and correct accessibility barriers so users can utilize assistive technologies more effectively.
I’ve been exploring Transportr and noticed that the text layout does not adapt properly to system font settings on the Search Results and Connection Details screens, so I wanted to propose a fix.
1. The Issue
On the Trip Results and Connection screens, text elements (such as departure times, station names, or line numbers) present the following behavior:
- Current behavior: When the system font size is set to the maximum, the text does not scale proportionally (Insufficient Increase). It often remains too small or becomes partially obscured by other UI elements (violating WCAG 1.4.4 Resize Text).
- Impact: Users with low vision struggle to read time-sensitive transit information, which is critical for using the app effectively in real-time scenarios.
2. Proposed Solution
To fix this, I suggest ensuring that all android:textSize attributes use sp (scale-independent pixels) and that the list item containers use wrap_content for height to allow the text to expand and wrap onto new lines without being cut off.
Code snippet / XML suggestion:
<TextView
...
android:textSize="16sp"
android:layout_height="wrap_content"
android:ellipsize="none"
android:singleLine="false" />3. Additional fixes (Need your input)
I have identified 2 other accessibility improvements on these screens.
To avoid spamming your notification feed, how would you prefer I submit these?
- Option A: List them all here in this issue (I can update the comment below).
- Option B: Open separate issues for each specific problem.
Please let me know your preference, and I will proceed accordingly.
Best regards,