Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name.fromDescendant() should reject empty spaces names #830

Closed
2 tasks done
Jym77 opened this issue Jun 10, 2021 · 2 comments · Fixed by #771
Closed
2 tasks done

Name.fromDescendant() should reject empty spaces names #830

Jym77 opened this issue Jun 10, 2021 · 2 comments · Fixed by #771
Assignees
Labels
bug Report of unexpected or faulty behaviour in Alfa

Comments

@Jym77
Copy link
Contributor

Jym77 commented Jun 10, 2021

<a href="#" title="Hello world">
      <span> </span>
</a>

Receives (space) instead of Hello world as a name, because the content takes precedence and Name.fromDescendant() returns Some " " rather than None.
Both Chrome and Firefox give Hello World as name.

@Jym77 Jym77 added the bug Report of unexpected or faulty behaviour in Alfa label Jun 10, 2021
@Jym77 Jym77 self-assigned this Jun 10, 2021
@kasperisager
Copy link
Contributor

@Jym77 Will you follow up on the Jiras if that isn't already on your list?

@Jym77
Copy link
Contributor Author

Jym77 commented Jun 14, 2021

Good call. Forgot these 😓 Will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of unexpected or faulty behaviour in Alfa
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants