accessibility-insights-web
accessibility-insights-web copied to clipboard
ad-hoc visualization state becomes inconsistent after toggling extension off and on
Describe the bug
To Reproduce Steps to reproduce the behavior:
- Activate ad-hoc automated checks on any page with issues
- from the browser's manage extension page, toggle the extension off and on
- open the popup ad-hoc tools panel 4 note that visualization is not visible on the page, but the toggle control for the automated checks tool is "on"
CodePen repro example
n/a
Expected behavior
The state of the toggle control should be consistent with whether visualizations are active on the page. I don't think it matters particularly whether the visualization ends up "on" or "off" at the end of these steps, but it shouldn't be self-inconsistent.
Screenshots
Context (please complete the following information)
- OS Name & Version: Repros on both Windows 11 22621.819 and Mac 13.0.1
- AI-Web Version & Environment: Repros on both 2.36.0 insider and 2.35.0 Production
- Browser Version: Repros on both Chrome beta 109.0.5414.25 and Edge stable 108.0.1462.42
- Target Page: any
Are you willing to submit a PR?
yes
Did you search for similar existing issues?
yes
Additional context
found during "Verify deprecated page functionality" validation scenario for 2.36.0, but probably non-blocking (not a regression)
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights!
this is a corner case so let's timebox addressing this issue to 4 hours and close if not.
If we do end up closing due to the timebox, we should update our release validation steps accordingly, since validating that this doesn't happen is an explicit part of step 1 from the "Verify 'deprecated page' functionality" release scenario
@madalynrose started working on this in https://github.com/madalynrose/accessibility-insights-web/tree/adhoc-toggles-state-fix, then shelved it for more pressing issues. If someone else picks this up, please discuss with @madalynrose before proceeding.
@madalynrose I am interested in working on this repo, please assign this to me.