dequelabs / axe-android

WCAG Accessibility compliance library for Android Applications.
Mozilla Public License 2.0
65 stars 19 forks source link

AxeView isObscured #102

Closed cyono closed 3 years ago

cyono commented 4 years ago

Enable a configuration that tells end-users when an AxeView is being partially or completely obscured by another view rendered "above" it in the hierarchy.

Develop a proof-of-concept with common design patterns:

devchan4188 commented 4 years ago

The POC for isObscured compares the views according to the hierarchy the problem with this implementation is that if a view is overlapped by a view which is rendered before itself then it will not be marked as isObscured.

To overcome this problem if we consider all the views in hierarchy against each other then we do not have track which view is being considered against which because of which a view will be marked isObscured by its own parent.

There are two ways to simply resolve this but need further research:

devchan4188 commented 3 years ago

This issue will be addressed in separate issues.