google / google/Accessibility-Test-Framework-for-Android

TouchTargetSizeCheck for button covered by snackbar

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
520
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Hello,

First, thanks a lot for this great framework!

I have issues with some TouchTargetSizeCheck errors being triggered in places where I don't see any accessibility issue. The case is always the same : I have a button at the bottom of my screen and above it gets displayed a permanent error snackbar (with a close button to dismiss it). Because of this snackbar, the portion of the button that stays visible is smaller than the minimum touch target size, which triggers the error. However, I don't think this is an accessibility issue because the snackbar can be dismissed, and once dismissed the button size is big enough.

Do you have an idea of how I could avoid these false positives ? I'd like to keep the TouchTargetSizeCheck so I can know if there are other touch target size issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.