fix(dictation): clear granted accessibility blocker (#1609)

* fix(dictation): refresh accessibility blocker

* docs(changelog): note accessibility refresh

* test(dictation): assert the native widget hide on accessibility grant

The recheck regression asserted only that the Accessibility pill text left
the DOM, so it still passed with hideWidgetWindow() removed and the native
capsule stranded on screen. Hold one stable getCurrentWindow().hide spy and
assert it after the poll (fails before the fix, passes after).
This commit is contained in:
Palash Debnath
2026-08-20 17:10:56 +00:00
committed by GitHub
parent de5d848189
commit 3441201be0
4 changed files with 70 additions and 3 deletions
+2 -1
View File
@@ -768,7 +768,8 @@ unaffected and works normally.
> **Tip:** current builds surface the live OS grant state in-app — **Settings →
> Permissions** shows whether the microphone (and, on macOS, Accessibility) is
> granted, denied, or not asked yet, with an **Open Settings** button that
> deep-links the exact OS pane described above.
> deep-links the exact OS pane described above. The dictation blocker rechecks
> Accessibility while it is visible and closes as soon as macOS reports the grant.
## Dub: "translation engine needs the optional … package"