You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the library. I would like to ask how you can change the role of the svg icon. At the moment I am using react testing library for tests and it turns out not entirely correct that I am looking for the role of the presentation in the test and the icon is. I can use the title to remove the role, but this behavior is also not entirely correct for me. Thanks!
The text was updated successfully, but these errors were encountered:
@SergeyWebDeveloper Can you please link to accessibility documentation where this wouldn't be the correct behavior?
If you're using the <Icon /> component for something other than icon's that might be outside of the scope. In this case the only role is presentation or a title/description must be defined.
Thanks for the library. I would like to ask how you can change the role of the svg icon. At the moment I am using react testing library for tests and it turns out not entirely correct that I am looking for the role of the presentation in the test and the icon is. I can use the title to remove the role, but this behavior is also not entirely correct for me. Thanks!
The text was updated successfully, but these errors were encountered: