Product
axe-core
Product Version
4.5.2
Latest Version
Issue Description
Expectation
I would expect the check to fail with this HTML:
<p>
Text
<a style="display: inline-block;">link</a>
</p>
This fails if the inline-block is removed, and visually they are both identical.
Actual
Passes
How to Reproduce
https://codepen.io/dballesteros7/pen/mdjreWM
Additional context
This allows to easily/unintentionally skip the check for inline blocks of text.