论文标题
使用跨平台开发框架开发可访问的移动应用程序
Developing Accessible Mobile Applications with Cross-Platform Development Frameworks
论文作者
论文摘要
这项贡献调查了跨平台开发框架(CPDF)如何支持通过屏幕读取器具有视觉障碍的人可以访问的移动应用程序的创建。我们首先系统地分析了本机iOS和Android中可用的屏幕阅读器API,我们检查了两个流行的CPDF中是否以及在哪个级别上可以使用相同的功能:Xamarin和React Native。该分析揭示了天然iOS和Android API之间共享许多功能,但是其中大多数在React Native或Xamarin中都不可用。特别是,甚至没有所有基本API都被检查的CPDF暴露。 仍然可以访问不可用的API,但是需要了解本机API并编写平台特定代码的开发人员需要额外的努力,从而部分否定了CPDF的优势。为了解决此问题,我们考虑了一组代表性的本机API,该集合无法直接从React Native和Xamarin访问,并显示用于访问它们的示例实现。
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.