nearestAccessibilityClickable

The innermost element on this hit path that is clickable, or null if none is.

Both iOS capture pipelines attribute a tap this way — autograph-compose for Compose Multiplatform, resolveNativeTapTarget for UIKit/SwiftUI — and they must agree: the same element has to resolve the same way no matter which pipeline observed the tap, or a hybrid app reports one button under two names. Searching from the leaf upward is what makes a button inside a tappable row attribute to the button rather than the row.

This lives here, next to the predicate it applies, so that agreement is a single definition rather than two call sites that happen to be written identically. The clickability predicate is expected to change — isAccessibilityButton is deliberately narrow, and the documented .onTapGesture-on- Text gap would be closed by widening it — and a widening applied to one copy only would silently split the two pipelines apart.

Expects the path in root-to-leaf order, as deepestAccessibilityHitPath returns it.