From the course: Android App Development: Accessibility
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Accessibility node info - Android Tutorial
From the course: Android App Development: Accessibility
Accessibility node info
- [Instructor] There are times that the accessibility service might need more information about a view that is not included in the accessibility event itself. This is what the accessibility node info provides. So going back to our diagram, the accessibility service will then request more information about a view, and the application provides that information back via the accessibility node info. The accessibility node info is the alternate representation of your view in the view hierarchy. It contains the information about a view that accessibility services care about. It's a snapshot of the view state. With this additional information, the accessibility service may choose to announce additional information to the user. We can separate the info that it provides into three groups, the content itself, which includes the text content, the type of this view, such as button image view, edit text, et cetera. The bounds of this view in the screen are relative to its parent, whether this view…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
The POUR principle1m 6s
-
(Locked)
Focus navigation3m 25s
-
(Locked)
Update default focus navigation3m 9s
-
(Locked)
Labels, roles, values, and states2m 43s
-
Apply visual attributes to tab layout4m 14s
-
(Locked)
Provide unique and meaningful labels6m 37s
-
(Locked)
Labels for input controls4m 42s
-
(Locked)
Create unique labels7m 45s
-
(Locked)
Handle RecyclerView updates3m 41s
-
(Locked)
Handle Single Activity layouts6m 39s
-
(Locked)
Accessibility events5m 10s
-
(Locked)
Accessibility live region2m 12s
-
(Locked)
Accessibility node info2m 14s
-
(Locked)
Custom views1m 48s
-
(Locked)
-
-
-