medium · M6 · MASVS-PRIVACY-1 · PTKD-REVIEW-PLAY-ACCESSIBILITY-SERVICE

    Accessibility service needs a Play declaration and disclosure

    The app declares an AccessibilityService and does not mark itself as an accessibility tool. Google Play then requires an accessibility declaration in Play Console, a note on the store listing, a prominent disclosure in the app and the user's consent; the API may not be used to bypass security or privacy controls.

    How it is exploited

    Not an attack: an app uses an AccessibilityService to read the screen for an auto-fill or automation feature. Without the declaration, listing note and in-app disclosure, Play review rejects the update or removes the app, because the same API is how malware reads and controls other apps.

    Why it matters

    A rejected update or removal under the Accessibility API policy, and users who see an alarming system prompt with no explanation.

    How to fix it

    1. Decide whether the service exists to help people with disabilities; if so, set android:isAccessibilityTool="true" in res/xml/<your accessibility config>.xml.
    2. Otherwise complete the accessibility declaration in Play Console (App content), and describe the use on the store listing.
    3. Show a prominent in-app disclosure and get consent before sending the user to the accessibility settings.
    4. Where a narrower API does the job (autofill service, notification listener), use it instead.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-PLAY-ACCESSIBILITY-SERVICE and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M6)