Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

findTextAlternatives not ignoring hidden element #217

Closed
ricksbrown opened this issue Jul 30, 2015 · 0 comments
Closed

findTextAlternatives not ignoring hidden element #217

ricksbrown opened this issue Jul 30, 2015 · 0 comments
Labels

Comments

@ricksbrown
Copy link
Collaborator

For the anchor in the example below findTextAlternatives is returning “X Close this window" instead of the expected "Close this window".

<a href="#">
    <span aria-hidden="true”>X</span>
    <span>
        Close this window
    </span>
</a>

Reported here by @jdan https://web-a11y.slack.com/archives/a11y-devtools/p1438287595000326

ricksbrown added a commit to ricksbrown/accessibility-developer-tools that referenced this issue Jul 30, 2015
@ricksbrown ricksbrown added the bug label Aug 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant