microsoft / accessibility-insights-web

Accessibility Insights for Web
https://accessibilityinsights.io
MIT License
827 stars 147 forks source link

feat(target-size-automation): Update target size requirement to be assisted #7331

Open madalynrose opened 3 months ago

madalynrose commented 3 months ago

Details

This updates the Target Size requirement in the Pointer Motion assessment to use the new 'target-size' axe-core rule and display the results in an instances table.

The needs for the instances table are a little different than what has been needed for similar requirements in the past:

In order to test this locally, test resources have been added at src/tests/end-to-end/test-resources/target-size.

Motivation

feature work

Context

Right now, this PR includes cursory tests for the TargetSizeColumnRendererFactory and TargetSizeColumnRenderer but other new functionality does not have corresponding unit tests.

Additional work will be done to add target-size as a needs review rule and to add additional telemetry for this requirement.

Pull request checklist