fix(desktop): let computer use type into date and time pickers
Merged
WA
24d ago+16+16+01234567890123456789-6-6-0123456789
Summary
- #9112's
type_textgate didn't recognizeAXDateTimeArea, the role an NSDatePicker field reports, so typing a time into Clock alarms or Calendar events was refused with "Keyboard focus is not in a text input" - Date and time pickers now count as text controls, like the legacy date/time field roles already did
- The fixture gains a time picker whose action updates a
Time:label, andlive.pytypes an hour into it
Type of Change
- Bug fix
Testing
- Paired benchmark of #9112 against the previous helper (84 episodes): 53 vs 55, McNemar p=0.63; all three lost episodes (calendar-1_3, clock-1_1, clock-1_4) were this refusal on
AXDateTimeArea live.pyon macOS 26: fails on current staging's helper with the sameunsupported_actionrefusal, passes with this fix- Targeted Clock/Calendar benchmark result is posted below
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)