it's a good idea to add and suggest accessibility roles for components. there are a lot of benefit for having role also it help me for writing tests in React because react-testing-library encourage us to select and find element on DOM by their roles, so I don't need to pass test-id.
it's a good idea to add and suggest accessibility roles for components. there are a lot of benefit for having role also it help me for writing tests in React because
react-testing-library
encourage us to select and find element on DOM by their roles, so I don't need to passtest-id
.