Breaking Barriers in Mobile Accessibility: A Study of LLM-Generated Native Android Interfaces
Rapid advancements in artificial intelligence, particularly in large language models (LLMs), have opened new opportunities for automating software development tasks, including the generation of code for mobile applications. This paper examines the potential of LLMs, such as ChatGPT, to improve the accessibility of native Android apps. It evaluates whether LLM-generated code aligns with established accessibility standards, focusing on various screen layouts and prompt designs. Two studies were conducted to assess the accessibility of the generated interfaces. The first study analyzed the generation of seven types of mobile interfaces using less restrictive prompts. In contrast, the second study required the generated code to adhere to a specific interface programming model. After evaluation, 540 accessibility issues were identified, with interfaces generated using the Jetpack Compose framework showing better performance, although still in need of improvement. Interestingly, prompts explicitly requesting accessibility often produced more errors than standard prompts, highlighting the difficulties that LLMs face in comprehending and implementing accessibility requirements. This research emphasizes the need to refine LLM outputs when it comes to interface descriptions, as accessibility issues may be introduced into code intended for use by developers.
Authors
- Kiev Gama (ORCID: https://orcid.org/0000-0003-1508-6196)
- Windson Viana (ORCID: https://orcid.org/0000-0002-8627-0823)
- Paulo P. Silva (ORCID: https://orcid.org/0000-0003-0221-198X)
- Daniel Mesquita Feijó Rabelo (ORCID: https://orcid.org/0000-0002-3363-5411)
- Renato Martins (ORCID: https://orcid.org/0000-0001-8105-4219)
- Isaac José Antônio Luquetti dos Santos
Institutions
- Universidade Federal do Ceará (BR)
- Universidade Federal de Pernambuco (BR)
Publication Details
- Published
- 2025-04-27
- DOI
- https://doi.org/10.1109/mobilesoft66462.2025.00010
- Citations
- 2
- Primary Topic
- Digital Accessibility for Disabilities
- Type
- article
- Field-Weighted Citation Impact
- 22.64