daffodil icon indicating copy to clipboard operation
daffodil copied to clipboard

[FEAT] Basic accessibility updates for DaffMenuComponent

Open xelaint opened this issue 1 year ago • 2 comments

:bulb: Feature request

Feature Name

Accessibility updates for DaffMenuComponent

The Desired Behavior

  • [x] aria-haspopup and aria-expanded on DaffMenuComponent
  • [x] 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:

xelaint avatar Jun 10 '24 15:06 xelaint

Currently blocked because aria-controls implementation doesn't work if using template ref to implement menu

xelaint avatar Jan 09 '25 16:01 xelaint

May no longer need to use templateRef.

xelaint avatar Mar 18 '25 18:03 xelaint