In shallow lakes, floating-leaved plants can produce dense lakebeds that dramatically alter freshwater ecosystems and impact macrobenthic communities. Shorebirds are morphologically diverse and utilize different foraging strategies; they can partition food resources to achieve coexistence due to differences in food availability. In this study, we defined shorebird foraging guilds using a principal component analysis and explained differences in shorebird composition in terms of food availability by comparing macrobenthic and shorebird communities in Euryale ferox artificial planting areas, Trapa spp. natural growth areas, and control areas. The Mantel test and a Spearman analysis were used to correlate macrobenthic taxa with shorebird foraging guilds. We recorded four different macrobenthic taxa in the three study areas, including insects, gastropods, oligochaetes, and bivalves. Fifteen species belonging to three shorebird families were recorded across the three study areas. Our results suggest that floating-leaved plants are an important cause of differences in macrobenthic communities, and epifaunal macrobenthos (insects and gastropods) and infaunal macrobenthos (oligochaetes and bivalves) take on different patterns of diversity composition in different habitats. The macrobenthic and shorebird communities were potentially coherent. Different shorebird foraging guilds were limited by food availability and thus correlated differently with different macrobenthos. Therefore, differences in macrobenthic communities relative to floating-leaved plants can affect shorebird assemblages by affecting the availability of food resources.