Skip to content

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

@ajmaurya99

Description

@ajmaurya99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions