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 from content without descendants #33

Closed
OisinNolan opened this issue Aug 28, 2020 · 0 comments · Fixed by #41
Closed

Name from content without descendants #33

OisinNolan opened this issue Aug 28, 2020 · 0 comments · Fixed by #41

Comments

@OisinNolan
Copy link
Contributor

See #32

The empty string is being returned by step 2F in cases when an Element that allows name from content has no descendants. Instead, other steps (such as 2I) should be considered. For example:

<input type="checkbox" title="foo">

<input> should have an accessible name of ”foo” here, but accname is returning ””.

This issue is also referenced in #19

@AlexLloyd0 AlexLloyd0 linked a pull request Sep 1, 2020 that will close this issue
OisinNolan added a commit that referenced this issue Sep 1, 2020
* Added check for title if 2F returns empty string

* Implemented requested changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant