front-end-monorepo
front-end-monorepo copied to clipboard
Double check accessibility test failure for tooltips in TranscribedLines story
Package lib-classifier
Describe the bug A clear and concise description of what the bug is. The TranscribedLines component uses tooltips where the aria id is dynamically added onto the element when the associated DOM event for focus or hover is triggered and thus is failing automated accessibility tests because the id is missing from the initial HTML markup. Noted in https://github.com/zooniverse/front-end-monorepo/pull/1686#issuecomment-656597385
To Reproduce
Use the TranscribedLines
story and accessibility audit tool.
Expected behavior A clear and concise description of what you expected to happen.
Accessibility audit test should pass.
Additional context Add any other context about the problem here. The description is still read out as expected when using VoiceOver. The failure is just in the HTML / automated tested.