react-aria-menubutton icon indicating copy to clipboard operation
react-aria-menubutton copied to clipboard

should add role="presentation" on the surrounding li

Open gaurav5430 opened this issue 2 years ago • 0 comments

In the example usage on the website and the example as part of the repo, the li which contains the menuitem does not have its semantics hidden (using role=presnetation or role=none). Which means for a screenreader user this is extra info which doesn't make sense semantically ?

Would it be better to add role="presentation" on these wrapper lis

This is also suggested on the WAI ARIA pattern

gaurav5430 avatar May 19 '22 06:05 gaurav5430