You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
Here the text content in the region is output as soon as you navigate into the region.
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.
The text was updated successfully, but these errors were encountered: