Closed
Description
Describe the Feature
Should be able to query a Button element as follows:
getByRole('button', {name: /submit/i})
At the present time, this is impossible so I have to add redundant accessiblityLabel
props, for example:
<Button accessibilityLabel="submit-button">Submit</Button>
And then, use queryByA11yLabel('submit-button')