• 39th Annual CSUN Assistive Technology Conference - March 18 - 22,2024 at the Anaheim Marriott

    The Premier AT Conference

38th Annual CSUN Assistive Technology Conference Has Concluded

Sharing Android Util Class for Improving Accessibility

Date & Time
Wednesday, March 15, 2023 - 3:20 PM PST  
Orange County 3-4  

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.

This Presentation Link is provided by the Presenter(s) and not hosted by the Center on Disabilities at CSUN. The Center on Disabilities has confirmed, as of March 14, 2023, content linked is relevant to the presentation, but has not been reviewed for accessibility nor will the Center on Disabilities attempt to remediate any accessibility issues in the linked content. Please contact the Presenter(s) with any accessibility concerns.

  • Higher Education
  • Research & Development
Audience Level
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
Secondary Topics
  • Blind/Low Vision
  • Digital Accessibility
  • Mobile Technology
Session Type
General Track  


  • Hyongsop Kim

Add to Outlook/iCal (How it works)

Back to Session List