Skip to content

False Positive: aXe unable to determine color contrast within nested tags when font-weight is being applied in CSS. #556

Closed

Description

Working with the aXe chrome browser extension I noticed some inconsistent behavior. It is only present when we are applying font-weight: bold to a <b> or <span> inside any parent node. When the node is on one line presentationally within the DOM, no color contrast flag, but when its container forces a line break it flags it as unable to determine color contrast.

<p class="content">
   Lorem Ipsum <b>Bold Text</b> and a <b>lot more bold text</b>
</p>

Attached are pictures of the false positives.

offending markup

screen shot 2017-10-02 at 3 23 54 pm

associated false positive

screen shot 2017-10-02 at 3 39 58 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions