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 #1054

Closed
JAWS-test opened this issue Sep 14, 2019 · 1 comment
Closed

Output of child elements #1054

JAWS-test opened this issue Sep 14, 2019 · 1 comment
Assignees

Comments

@JAWS-test
Copy link
Contributor

The AccName and ARIA specification says nothing about the output of child elements when a parent element is labeled. This should be added. Best for each role, in the table with the properties of the role. In addition, a chapter could be inserted into APG, where all roles are listed, to which it applies that their content is visible with explicit label or not (analogous to implicit role=presentation: https://w3c.github.io/aria-practices/#children_presentational).

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.

During the discussion on w3c/accname#59 it was agreed that this is a topic for the ARIA specification and HTML AAM and not for AccName.

See also: #1028, w3c/html-aam#160, w3c/accname#59.

@jnurthen
Copy link
Member

This is a duplicate of #683

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

3 participants