Match Groups
Search results are grouped into three categories based on how well dishes match the guest’s preferences.Match Status Overview
Visual Hierarchy
Match Badges
Badge Components
CSS Styling
Match Reasons
ForALMOST_MATCH and NOT_MATCH dishes, always display the reasons:
Compact Dish View
For list layouts, show key information inline:Nutrition Panel
Full Nutrition Facts
Display the complete nutrition panel in dish detail views:Allergen Badges
Diet Tags
Empty States
Handle cases where no dishes match:Accessibility
Screen Readers
Use
aria-label on badges: “Match status: Almost match, contains dairy”Color Contrast
Ensure badge colors meet WCAG AA contrast ratios
Keyboard Navigation
All interactive elements should be keyboard accessible
Focus Indicators
Visible focus states on dish cards and buttons

