COD

  • CSUN Assistive Technology Conference Logo

    The Premier AT Conference

Sharing Android Util Class for Improving Accessibility

Date & Time
Wednesday, March 15, 2023 - 3:20 PM PST  
Location
Orange County 3/4  
Description
Screen reader users could not visually check the layout of the screen, the style of each element, and rely solely on the information that the screen reader reads. Therefore, the text of each element the screen reader reads, as well as the element role and state information, are essential to understanding the context of each element. We recommend developers to use native controls instead of custom controls to implement accessibility. Nevertheless, custom controls are used for many reasons, and each platform provides its own API for implementing accessibility to these custom controls. In the case of web/iOS/flutter/react-native/android jetpack compose, changing or adding proper role or state is very easy and need just little code. However, with the android view system, changing accessibility role or state is not easy, because each custom controls need to implement AccessibilityDelegate, and we should override onInitializeAccessibilityNodeInfo to set or change role or state. So we created useful util class for android view system accessibility. Inside this class, there are most short code that change or set accessibility role, state with just one line. Also we added some useful methods such as accessibilityValue, more short code for detecting TalkBack, and send accessibility focus with some delay. Applying this will util class will significantly reduce development time for accessibility issues. So I want to share this class and explain how to apply.  
Audience
  • Higher Education
  • Research & Development
Audience Level
Intermediate  
Session Summary (Abstract)
Compared to other platforms, Android view systems are more cumbersome to implement element role and state information accessibility. To solve this problem, we introduce the util class we created.  
Primary Topic
Development  
Secondary Topics
  • Blind/Low Vision
  • Digital Accessibility
  • Mobile Technology
 
Session Type
General Track  

Presenter

  • Hyongsop Kim
    Nvisions

Add to Outlook/iCal (How it works)

Back to Session List