Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep children check #68

Merged
merged 2 commits into from
Oct 14, 2023
Merged

Deep children check #68

merged 2 commits into from
Oct 14, 2023

Conversation

Irineu333
Copy link
Member

@Irineu333 Irineu333 commented Oct 1, 2023

Description

The isReadableAsChild function was not checking its children recursively. This function is used to find out if a View can be read as a child of a ViewGroup. Generally this occurs when the ViewGroup itself does not have a contentDescription or any intrinsic content to be read, the app then loops through its children, but not all children can be read, children that must be read directly (another rule) must not be read. read as children of other elements, I deduced this logic by testing Talkback and Jieshou, but I didn't code it correctly, but now it's corrected..

Fixed issues

Fixes #67
Fixes #48

@Irineu333 Irineu333 force-pushed the bugfix/wrong-children-check branch from 86d6588 to d2141ac Compare October 1, 2023 02:28
@Irineu333 Irineu333 self-assigned this Oct 1, 2023
@Irineu333 Irineu333 added the bug Something isn't working label Oct 1, 2023
@Irineu333 Irineu333 added this to the MVP milestone Oct 1, 2023
@Irineu333 Irineu333 force-pushed the bugfix/wrong-children-check branch from d2141ac to 4a9217c Compare October 1, 2023 02:38
@Irineu333 Irineu333 requested a review from PatrykMis October 2, 2023 02:54
@Irineu333 Irineu333 merged commit ec8c88b into develop Oct 14, 2023
1 check passed
@Irineu333 Irineu333 deleted the bugfix/wrong-children-check branch October 14, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not focusing on WhatsApp notification Not reading notification title
1 participant