Closed KJohansonMicrosoft closed 1 year ago
Hello! Thanks for letting us know about this issue. Can you give us any more information so that we might be able to reproduce it? For example, if there is anything you are typically working on when it hangs. Can you think of anything specific that you were doing right before this issue typically happens?
The team requires additional author feedback; please review their replies and update this issue accordingly. Thank you for contributing to Accessibility Insights!
Not really. I haven't been documenting which parts of the assessment trigger this problem. But I see the "scanning" icon as soon as I click on a new segment of the assessment.
Gotcha. Without a consistent or reproducible case this might be tricky to triage... what is the exact version of the extension which you are running? (Version is visible at the bottom left of the popup)
The team requires additional author feedback; please review their replies and update this issue accordingly. Thank you for contributing to Accessibility Insights!
I was able to reproduce both this issue and the one you emailed about (text included below) by switching quickly between different assisted requirements. Thank you for pointing out this issue, we will work to fix it!
Issue raised via email:
I am conducting accessibility training on the Licensing Briefs page, and the visual helper slider is not working on the Visible focus 3.1 assessment. I have encountered this one or two other times in recent weeks, but I don’t recall whether the problem occurred on the same segment within the assessment. As with the other issue I reported this morning, nothing except closing the assessment and restarting from the same spot within the assessment helped. Refreshing the page had no impact.
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!
Version 2.31.1
For the "visual helper cannot be toggled on" variant, I captured the following logs from the background page during the repro:
I think the most interesting parts the logs are:
1x sendMessageToTab(161) failed for message /* a normal looking AssessmentStore STORE_CHANGED message */ with browser error message: Cannot read properties of undefined (reading 'scanning')
3x sendMessageToTab(161) failed for message /* a normal looking VisualizationStore STORE_CHANGED message */ with browser error message: Cannot read properties of undefined (reading 'stop')
These error messages come from browser-message-broadcaster-factory.ts
's errorHandler
around the browser.tabs.sendMessage
webextension API - the Cannot read properties of undefined (reading 'whatever')
part of the error comes directly from the browser error given to us from that API.
The messages are very interesting because they imply that the browser is trying to read properties of the message which don't actually exist on the message in question. Particularly, the error with the AssessmentStore message talks about reading a scanning
property, but there is no scanning
property anywhere in AssessmentStoreData
- there is in VisualizationStoreData
, though.
I am suspicious that there is some browser regression related to interleaving these messages; we can interleave them in practice, since we end up fire-and-forgetting the asynchronous messages from the browser-message-broadcaster-factory
's broadcast implementations. I found a few possibly-related Chromium items with recent activity, but none that are obviously the root cause here:
sendResponse
handler on the listening side or not, which is timely but not quite the same symptom we're seeingI was able to reproduce both this issue and the one you emailed about (text included below) by switching quickly between different assisted requirements. Thank you for pointing out this issue, we will work to fix it!
Thanks!
Not sure if it helps, but I ran into the same issue and can consistently trigger this issue by enabling either the Keyboard > Keyboard navigation, Focus > Visible focus, or "Focus > Focus order" Visual helpers, then switching to an assessment item that uses a scan (Landmarks > Landmark roles, Page navigation > Page title).
It didn't seem to matter if I disabled the helper afterward or not. Weirdly, some previously performed scans would remain available, but I haven't narrowed down any logic behind that behavior.
Only way to resolve the issue is to close Accessibility Insights window, refresh the tab being assessed, then reopen Accessibility Insights.
thanks for sharing this @aut0poietic!
Informational mostly for who looks into this bug, with these steps, I can repo this somewhat consistently in the production version of the extension, however I cannot repo in the canary version at all.
Per conversation with Peter, let's look at this in Canary and try to repro (timebox this), if it doesn't repo, its likely we fixed it as a side effect of other work
Hi, I am also having similar issues. When running the fast pass tool on most URLs it completes within ~5s but when running it on the page I am currently updating the tool gets stuck in the scanning state. I have left it running for ~30minutes and never yet seen it complete / offer any more info. I have sent an email to your internal email address with more info.
@Nimbobs95 thank you for sharing this and working with our team to debug the issue! We confirmed the issue is resolved in our canary extension which will be released into production in the upcoming weeks.
The release with the fix shipped in March. Closing.
I frequently have issues where my assessments get stuck in “scanning” mode (see below), and I have to close the assessment windows and reopen to continue.
I don't know how to reproduce, as this issue shows up randomly, not on all parts of an assessment, or all assessments.
I expected to be able to specify whether a page passed or failed that specific assessment.
Context
Edition Windows 10 Enterprise Version 21H2 Installed on 10/14/2021 OS build 19044.1645 Experience Windows Feature Experience Pack 120.2212.4170.0
Microsoft Edge Version 100.0.1185.39 (Official build) (64-bit)
Are you willing to submit a PR?
Target page: https://www.microsoft.com/en-us/licensing/learn-more/trainings?activetab=licensing-call-tab%3aprimaryr3
I don't know how to submit a PR
Did you search for similar existing issues?
Yes
Additional context
N/A