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

Output of child elements #59

Closed
JAWS-test opened this issue Sep 13, 2019 · 5 comments
Closed

Output of child elements #59

JAWS-test opened this issue Sep 13, 2019 · 5 comments

Comments

@JAWS-test
Copy link

JAWS-test commented Sep 13, 2019

If I understand it correctly, the AccName specification says nothing about the output of child elements when a parent element is labeled. This should be added.
Example:

<nav aria-label=test>content</nav>

Here the text content in the region is output as soon as you navigate into the region.

<button aria-label=test>content</button>

Here the text content of the button is never output.

So the question is: For which elements are child elements not output?
One could assume that it applies to all elements whose children implicitly have role=presentation. But this is probably not true, because a link does not implicitly have role=presentation, but I would expect a link is output without its content, if it was labeled with aria-label or aria-labelledby.

See also: w3c/html-aam#160 (comment)

@scottaohara
Copy link
Member

I think this is a good idea to call out, but would be better served as information in HTML AAM and the ARIA specifications specifically.

accname defines how the accessible name is calculated, but the other specs should help define / advise how different elements and roles expect child content to be reached.

I'd recommend this issue be closed and taken up in the appropriate specs.

@JAWS-test
Copy link
Author

Do you think I should post the ticket on ARIA and HTML AAM?

@scottaohara
Copy link
Member

Not HTML AAM please. There are already issues there (as you've already been commenting on) that cover this topic.

@JAWS-test
Copy link
Author

@scottaohara: What HTML AAM issues do you mean? I can't find them

@scottaohara
Copy link
Member

The HTML AAM issue you linked to here. It's related and we don't need a duplicate issue for it.

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

No branches or pull requests

2 participants