fix: Label via accessibilityValue for some roles on macOS - #756
Conversation
|
@John-Howard Would you please be able to check if this fixes the issue you reported? I currently don't have access to my Mac. I tested Slint's ListView on macOS 11 a while back and VoiceOver was correctly reporting item names, the behavior may have changed in later macOS versions? Could this by chance fix #520 at the same time? Thanks in advance for your help. |
|
Tested on macOS 26.6, Slint 1.17.1 (winit backend), with this branch patched in via The tree change works as intended. Before: row is But the rows were never silent on 26.6, so there's no symptom here for it to fix. Captured via VoiceOver's own AppleScript ( Our slint#12644 report was wrong about the cause, and I'm sorry for sending you after it. The rows were silent because AX focus never landed on a row — On #520: unaffected either way. No objection to the change — it's harmless here and slightly terser — but I can't report it as fixing a real symptom on current macOS. |
See slint-ui/slint#12644
The logic comes straight from Chromium.