component-library icon indicating copy to clipboard operation
component-library copied to clipboard

aria-expanded value not getting updated on openSubmenu and closeSubmenu callbacks.

Open ajmaurya99 opened this issue 3 years ago • 0 comments

Describe the bug The Aria Expanded value is not getting updated when clicked on another menu items.

To Reproduce Steps to reproduce the behavior:

  1. Open the Navigation dropdown menu item.
  2. Click on the sibling menu item.
  3. The aria-expanded value remains unchanged and is not updated based on the openSubmenu and closeSubmenu callbacks.

Expected behavior The aria-expanded value of the anchor element should be updated based on the openSubmenu and closeSubmenu callbacks

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Mobile (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Please list more relevant information here.

ajmaurya99 avatar Mar 21 '22 10:03 ajmaurya99