itemsRole property
The role
attribute that all items should have.
The role
attribute is used for a11y purposes and should be the same for
each menu item in a group. If the menu items are not selectable the role
should be menuitem
. https://www.w3.org/TR/wai-aria-1.1/#menuitem
Implementation
final itemsRole = 'menuitem';