A small screen shows a title, a message, and an operation status banner. After the banner appears, VoiceOver should move focus to it, and when the screen is dismissed, event observation should stop. After a recent PR, the behavior became inconsistent.
InboxView screen displays the banner only when banner exists in the store.StatusBanner title.MainActor context.InboxView.onAppear(), then send the event BannerEvent(title: "Saved", message: "Draft synced") through BannerCenter.bannerTitle.onDisappear() on this model instance.InboxViewModel instance with the same BannerCenter, call onAppear() again, and send a new event.focus.request(.bannerTitle) is called once.BannerCenter.Swift 6InboxViewModel and FocusRecorder are marked @MainActoronAppear(), onDisappear(), and send(_:)Use line comments to explain the problem, its impact, the fix and how to test it.