I'm having issues with the react-tooltip accessibility with screen readers. The library renders the tooltip structure in this way:

That causes the screen reader to read all the style tag content before getting to the tooltip's text, which is not desired.
I guess the style tag should either be moved outside the tooltip's markup or contain aria-hidden="true" attribute in order to be skipped by screen readers.
Is there some other solution to this issue? Thank you.
I'm having issues with the
react-tooltipaccessibility with screen readers. The library renders the tooltip structure in this way:That causes the screen reader to read all the style tag content before getting to the tooltip's text, which is not desired.
I guess the style tag should either be moved outside the tooltip's markup or contain
aria-hidden="true"attribute in order to be skipped by screen readers.Is there some other solution to this issue? Thank you.