Skip to content

Conversation

geotrev
Copy link
Contributor

@geotrev geotrev commented Aug 14, 2024

Description

Garden Menu closely follows APG menu examples by providing a transient li around grouped items. They don't clarify in the attributes table, but this element needs role="none" or there will be semantic HTML violations, as shown in the Storybook when Menu is expanded:

Screenshot 2024-08-14 at 3 37 02 PM

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance (for real this time)
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@geotrev geotrev merged commit 052c7cd into main Aug 15, 2024
@geotrev geotrev deleted the george/menu-itemgroup-role branch August 15, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants