[EuiStat] Description containing focusable elements causes accessibility tests to fail #5273
Labels
accessibility - automated
accessibility - cognition
accessibility - WCAG A
Level A WCAG Accessibility Criteria
accessibility
bug
feature request
In elastic/kibana#115121, I'm planing an
EuiIconTip
inside thedescription
ofEuiStat
:This causes our accessibility tests to fail:
I believe this is due to https://github.com/elastic/eui/blob/master/src/components/stat/stat.tsx#L118, introduced in #3693. From reading the discussion on that PR I couldn't follow the reasoning behind this decision -- maybe it was made in error? Either way, can we update this component to support arbitrary, focusable elements being passed to
description
?The text was updated successfully, but these errors were encountered: