-
Notifications
You must be signed in to change notification settings - Fork 125
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
[core-aam] Rules for excluding elements from the accessibility tree confuse definition of presentational elements #492
Comments
Text designed to clarify issues related to presentational elements has been added to the ARIA spec and referenced in Section 5.1.1 of the Core AAM. In particular, the first rule/item now has the following content related to presentation-role elements:
@mcking65: Does the above content from the Core AAM, combined with the new "Presentation Roles Conflict Resolution" content which was added to the ARIA spec, solve the confusion you reported? |
It is closer for role presentation, but not for children presentational. For role presentation, the added text, with some editorial improvement, could resolve this issue. In particular, the "Presentational Roles Conflict Resolution" subsection in ARIA needs some editorial work to correct grammar errors and make it understandable. For instance, missing " of " in:
And this paragraph needs a rewrite to make it intelligible:
The only way I came to understand it was because of the subsequent example. WRT children presentational, core AAM is still written as if children presentational true is the same as aria-hidden true. It does not say that the text nodes of elements with children presentational true are included in the accessibility tree. |
So it sounds like we have two separate issues: 1) Editorial improvement is needed to the ARIA spec. 2) What you subsequently state about the Core AAM, namely:
With respect to the latter, could you provide a pull request which adds the language you would like to see so that we can close this issue? Thanks in advance! |
Regarding the editorial improvement needed to the ARIA spec, I've created issue #646. (I've fixed the missing "of" already. This issue is now strictly about the Core AAM. |
…onal Elements For issue #492, modified section "5.1.1 Excluding Elements from the Accessibility Tree" in core-aam.html. Clarified the criteria for elements with children presentational true to specify that: 1. Text content of excluded elements is included and; 2. Exceptions, such as focusability, also apply.
… in Core-AAM (#647) Clarify the criteria for elements with children presentational true to specify that: 1. Text content of excluded elements is included 2. Exceptions, such as focusability, also apply This is already stated in the ARIA specification, but was not clear from the text present in the Core AAM. Fixes github issue #492.
The clarifying text from @mcking65 have been merged. Closing as FIXED. |
… in Core-AAM (#647) Clarify the criteria for elements with children presentational true to specify that: 1. Text content of excluded elements is included 2. Exceptions, such as focusability, also apply This is already stated in the ARIA specification, but was not clear from the text present in the Core AAM. Fixes github issue #492.
Section 5.1.1 Excluding Elements from the Accessibility Tree
does not distinguish between hiding an element and hiding an element and its content.
While the first rule references the definition of the presentation role, it still states that the element is not exposed using the same language as the second rule for hidden content. That is, the rules seem to equate the treatment of presentational elements with the treatment of hidden elements.
Similarly, the description of user agent treatment for aria-hidden does not have any clear differences from the description of user agent treatment of elements that have children presentational true.
The text was updated successfully, but these errors were encountered: