Skip to content

Commit

Permalink
feat: add accessibleDisabledButtons feature flag (#20845)
Browse files Browse the repository at this point in the history
* feat: add feature flag for focusable disabled components

* rename feature flag
  • Loading branch information
vursen authored Jan 20, 2025
1 parent fa584e1 commit 45457e4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ public class FeatureFlags implements Serializable {
"React 19 (default in Vaadin 25)", "react19",
"https://react.dev/blog/2024/12/05/react-19", 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);

private List<Feature> features = new ArrayList<>();

File propertiesFolder = null;
Expand Down Expand Up @@ -128,6 +132,7 @@ public FeatureFlags(Lookup lookup) {
features.add(new Feature(DASHBOARD_COMPONENT));
features.add(new Feature(CARD_COMPONENT));
features.add(new Feature(REACT19));
features.add(new Feature(ACCESSIBLE_DISABLED_BUTTONS));
loadProperties();
}

Expand Down

0 comments on commit 45457e4

Please sign in to comment.