Enables the Delete Document and Delete All Fields menu buttons to be clickable via users of screen readers. Like an earlier PR, the onSelect property of the parent Menu component is used to replace the onClick property of the child MenuItem component. This enables screen reader users to click these options using the space and enter keys.
Enables the
Delete Document
andDelete All Fields
menu buttons to be clickable via users of screen readers. Like an earlier PR, theonSelect
property of the parentMenu
component is used to replace theonClick
property of the childMenuItem
component. This enables screen reader users to click these options using thespace
andenter
keys.Internal: Addresses b/263429464