Browse Source
* Gate macOS setAccessibilityValue on value read-only state A read-only value provider must not advertise the setAccessibilityValue selector, so AX clients see the value as not settable. * Gate macOS read-only range value mutations Report a read-only IRangeValueProvider (ProgressBar, read-only NumericUpDown) as not settable, and stop advertising setAccessibilityValue/increment/decrement for it; keep min/max exposed. * Support deselect and toggle expand/collapse in macOS AX setAccessibilitySelected:NO now removes from selection, and AXPress toggles an expand/collapse provider instead of always expanding. * Harden macOS AX select, value-set, and disabled-control actions setAccessibilitySelected:YES now adds to the selection instead of replacing it, the value setter respects read-only, and mutating actions are gated on IsEnabled.pull/21602/head
committed by
GitHub
3 changed files with 35 additions and 14 deletions
Loading…
Reference in new issue