Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check for isScreenReaderFocusable and hasHint
adding check on hintText in hasText method the "hint text" for EditText's also counts as content, as it's still announced when the EditText has no text or contentDescription. See Talkbacks implementation here for reference: https://github.com/google/talkback/blob/6c0b475b7f52469e309e51bfcc13de58f18176ff/utils/src/main/java/com/google/android/accessibility/utils/AccessibilityNodeInfoUtils.java#L1663 #33690 (comment) adding check for isScreenReaderFocusable in isAccessibilityFocusable See Talkback's implementation here for reference: https://github.com/google/talkback/blob/6c0b475b7f52469e309e51bfcc13de58f18176ff/utils/src/main/java/com/google/android/accessibility/utils/AccessibilityNodeInfoUtils.java#L1690 #33690 (comment)
- Loading branch information