From e855f02187f3c54463a1d625c3063240028e6a1c Mon Sep 17 00:00:00 2001 From: Sergey Vinogradov Date: Wed, 26 Aug 2026 16:28:58 +0400 Subject: [PATCH] chore: remove accessible disabled buttons feature flag The behavior becomes default in the components: - https://github.com/vaadin/web-components/pull/12508 - https://github.com/vaadin/flow-components/pull/9967 Co-Authored-By: Claude Fable 5 --- .../com/vaadin/experimental/CoreFeatureFlagProvider.java | 7 +------ .../main/java/com/vaadin/experimental/FeatureFlags.java | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/flow-server/src/main/java/com/vaadin/experimental/CoreFeatureFlagProvider.java b/flow-server/src/main/java/com/vaadin/experimental/CoreFeatureFlagProvider.java index cb7fa48f59f..0ddc1d06b89 100644 --- a/flow-server/src/main/java/com/vaadin/experimental/CoreFeatureFlagProvider.java +++ b/flow-server/src/main/java/com/vaadin/experimental/CoreFeatureFlagProvider.java @@ -29,10 +29,6 @@ public class CoreFeatureFlagProvider implements FeatureFlagProvider { "collaborationEngineBackend", "https://github.com/vaadin/platform/issues/1988", true, null); - public static final Feature ACCESSIBLE_DISABLED_BUTTONS = new Feature( - "Accessible disabled buttons", "accessibleDisabledButtons", - "https://github.com/vaadin/web-components/issues/4585", true, null); - public static final Feature COMPONENT_STYLE_INJECTION = new Feature( "Enable theme component style injection", "themeComponentStyles", "https://github.com/vaadin/flow/issues/21608", true, null); @@ -43,8 +39,7 @@ public class CoreFeatureFlagProvider implements FeatureFlagProvider { @Override public List getFeatures() { - return List.of(COLLABORATION_ENGINE_BACKEND, - ACCESSIBLE_DISABLED_BUTTONS, COMPONENT_STYLE_INJECTION, + return List.of(COLLABORATION_ENGINE_BACKEND, COMPONENT_STYLE_INJECTION, TAILWIND_CSS); } } diff --git a/flow-server/src/main/java/com/vaadin/experimental/FeatureFlags.java b/flow-server/src/main/java/com/vaadin/experimental/FeatureFlags.java index 02144b74992..00af8a39e86 100644 --- a/flow-server/src/main/java/com/vaadin/experimental/FeatureFlags.java +++ b/flow-server/src/main/java/com/vaadin/experimental/FeatureFlags.java @@ -58,7 +58,6 @@ public class FeatureFlags implements Serializable { // Feature constants pointing to provider definitions for backward // compatibility public static final Feature COLLABORATION_ENGINE_BACKEND = CoreFeatureFlagProvider.COLLABORATION_ENGINE_BACKEND; - public static final Feature ACCESSIBLE_DISABLED_BUTTONS = CoreFeatureFlagProvider.ACCESSIBLE_DISABLED_BUTTONS; public static final Feature COMPONENT_STYLE_INJECTION = CoreFeatureFlagProvider.COMPONENT_STYLE_INJECTION; public static final Feature HILLA_FULLSTACK_SIGNALS = HillaFeatureFlagProvider.HILLA_FULLSTACK_SIGNALS; public static final Feature LAYOUT_COMPONENT_IMPROVEMENTS = FlowComponentsFeatureFlagProvider.LAYOUT_COMPONENT_IMPROVEMENTS;