-
-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Describe a related problem (optional)
I’m Ana Ferreira, a Master's student in Computer Science conducting research on mobile accessibility. While using URLCheck, I noticed that the text input fields (where URLs are entered) lack persistent visual labels or accessible instructions. Once a user starts typing, the hint disappears, which can confuse users with cognitive impairments or those using screen readers (violating WCAG 3.3.2). Additionally, the text in these fields does not scale properly when the system font size is increased, making long URLs hard to verify for low-vision users.
Describe your suggested feature
I suggest implementing Material Design's TextInputLayout for all URL input and display fields. This would provide:
- Floating Labels: A persistent hint that remains visible above the field even after text is entered.
- Scalable Text: Ensure the input text and its label use
spunits and allow for vertical expansion to prevent truncation when font sizes are maximized (WCAG 1.4.4). - Proper Labeling: Ensuring each field is explicitly associated with an accessible name for TalkBack users.
Describe alternatives you've considered for your suggested feature
An alternative would be adding static TextView labels above every EditText. However, using TextInputLayout is a more modern, space-efficient, and standard Android approach that natively supports hints, error messages, and better accessibility integration.
Other details
During my analysis, I identified 5 other accessibility improvements for URLCheck:
- Missing Labels: Icons like "Clear" or "Check" are announced as "Unlabelled" by TalkBack.
- Duplicate Announcements: Redundant descriptions causing the screen reader to repeat information.
- Advisory Scaling: Issues when font size is set to minimum.
I am happy to provide detailed fixes or open separate tickets for these technical improvements if the maintainers prefer.
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
- I have written a short but informative title.
- I will fill out all of the requested information in this form.