graycoreio / daffodil

Angular Ecommerce PWA Framework
https://next.daff.io
MIT License
155 stars 28 forks source link

[FEAT] Accessibility updates for DaffMenuComponent #2841

Open xelaint opened 2 months ago

xelaint commented 2 months ago

:bulb: Feature request

Feature Name

Accessibility updates for DaffMenuComponent

The Desired Behavior

  1. aria-controls on the daffMenuActivator
  2. aria-haspopup and aria-expanded on DaffMenuComponent
  3. Arrow key functionalities (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/menu_role)

Your Use Case

As a developer, I need to provide an accessible menu component for users.

Prior Work

Environment


Daffodil version: X.Y.Z
Angular version: X.Y.Z 


For Tooling issues:
- Node version: XX  
- Platform:  

Others: