From e67d4d1f0a47b600668b5641b35a9b139d37cf76 Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 25 Nov 2026 07:58:56 +0000 Subject: [PATCH] Properties Tab test: names repeat; leaving the panel shows Tab doesn't wrap --- crates/ui-egui/src/a11y_tests.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/ui-egui/src/a11y_tests.rs b/crates/ui-egui/src/a11y_tests.rs index c9cc652be..318fb5e7c 100644 --- a/crates/ui-egui/src/a11y_tests.rs +++ b/crates/ui-egui/src/a11y_tests.rs @@ -137,10 +137,8 @@ fn tab_walks_the_properties_controls_then_leaves_the_panel_in_the_framework_orde if region(&u) != Region::Properties { break; } - // Some stops carry no accessible name; only named ones must not repeat. - let n = name(&u); - assert!(n.is_empty() || !seen.contains(&n), "Tab revisited {n} before leaving the panel: {seen:?}"); - seen.push(n); + // Names repeat (unnamed stops, one "Apply variable" per field), so only leaving the panel shows Tab doesn't wrap. + seen.push(name(&u)); } assert_ne!(region(&u), Region::Properties, "Tab after the last Properties control leaves the panel"); for want in ["Width", "Height", "Rotation", "Opacity"] {