Files
craft-libs/crates/ui-widgets/tests/it/runtime/mod.rs
T
aiongg bc73cf5d1d Frame cost: tooltip text and AccessKit data only when needed
The report step builds a component's Access only for a reader: its node,
a merged role's facts, or a type whose role Access picks from
alternatives. With AccessKit off, a run takes only the value text. The
carried-name lookup moves below the node check.

A tooltip's text is built only when the pointer or keyboard wants the
tooltip or its layer still shows, at most once per call, and the tooltip
spec is borrowed instead of cloned on every run.

Count trials: 40 Field rows build no Access with AccessKit off; 40
unhovered icon buttons build no tooltip text, the hovered one builds its
own once a pass.
2026-11-21 13:26:52 +00:00

4 lines
76 B
Rust

pub(crate) mod bypass;
pub(crate) mod inspect;
pub(crate) mod report_costs;