Skip to content

Remove TouchTargetRule and update ClickableRoleRule - #14

Merged
mohdaquib merged 1 commit into
mainfrom
update-clickable-role
Jul 22, 2026
Merged

Remove TouchTargetRule and update ClickableRoleRule#14
mohdaquib merged 1 commit into
mainfrom
update-clickable-role

Conversation

@mohdaquib

Copy link
Copy Markdown
Owner
  • Remove TouchTargetRule and its associated DpSize model, tests, and configuration properties.
  • Update ClickableRoleRule to only flag clickable images without content descriptions, allowing null roles for generic clickable nodes to reduce false positives.
  • Remove Density dependency from A11yScanner and A11yNodeExtractor as pixel-to-dp conversion for touch targets is no longer required.
  • Update documentation and sample app to reflect the removal of the touch target size check.

- Remove `TouchTargetRule` and its associated `DpSize` model, tests, and configuration properties.
- Update `ClickableRoleRule` to only flag clickable images without content descriptions, allowing null roles for generic clickable nodes to reduce false positives.
- Remove `Density` dependency from `A11yScanner` and `A11yNodeExtractor` as pixel-to-dp conversion for touch targets is no longer required.
- Update documentation and sample app to reflect the removal of the touch target size check.
@mohdaquib
mohdaquib merged commit 138b0f4 into main Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant