arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.06875cs.SEcs.PL
收藏

使用跨平台开发框架开发无障碍移动应用

Developing Accessible Mobile Applications with Cross-Platform Development Frameworks

Università degli Studi di Milano(米兰大学)

Sergio Mascetti, Mattia Ducci, Niccoló Cantù, Paolo Pecis, Dragan Ahmetovic

AI总结:

本研究分析跨平台框架(Xamarin、React Native)对屏幕阅读器API的支持,发现多数原生API缺失,并提供示例实现以弥补该缺陷,助力视障用户无障碍应用开发。

摘要:

本研究探讨了跨平台开发框架(CPDF)如何支持创建可供视障人士通过屏幕阅读器访问的移动应用。我们首先系统地分析了原生iOS和Android中可用的屏幕阅读器API,并考察了两个流行的CPDF(Xamarin和React Native)中是否以及何种级别上提供相同的功能。该分析揭示,原生iOS和Android API之间有许多共享功能,但其中大多数在React Native或Xamarin中不可用。特别是,所考察的CPDF甚至没有暴露所有基本API。访问不可用的API仍然可能,但这需要开发者付出额外努力,他们需要了解原生API并编写平台特定代码,从而部分抵消了CPDF的优势。为解决此问题,我们考虑了一组代表性的、无法从React Native和Xamarin直接访问的原生API,并展示了访问它们的示例实现。

英文摘要:

This contribution investigates how cross-platform development frameworks (CPDF) support the creation of mobile applications that are accessible to people with visual impairments through screen readers. We first systematically analyze screen-reader APIs available in native iOS and Android, and we examine whether and at what level the same functionalities are available in two popular CPDF: Xamarin and React Native. This analysis unveils that there are many functionalities shared between native iOS and Android APIs, but most of them are not available in React Native or Xamarin. In particular, not even all basic APIs are exposed by the examined CPDF. Accessing the unavailable APIs is still possible, but it requires an additional effort by the developers who need to know native APIs and to write platform specific code, hence partially negating the advantages of CPDF. To address this problem, we consider a representative set of native APIs that cannot be directly accessed from React Native and Xamarin and show sample implementations for accessing them.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑