-
Notifications
You must be signed in to change notification settings - Fork 66
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
Rule update: "aria-hidden with focusable content" #439
Conversation
"focusable" --> "Participate in sequential focus navigation", "contain" --> "have descendants in the flat tree"
_rules/SC4-1-2-aria-hidden-focus.md
Outdated
@@ -26,7 +26,7 @@ The rule applies to any element with an `aria-hidden="true"` attribute. | |||
|
|||
### Expectation | |||
|
|||
None of the target elements are [focusable](#focusable), nor do they contain a [focusable element](#focusable). | |||
None of the target elements participate in [sequential focus navigation](https://www.w3.org/TR/html/editing.html#sec-sequential-focus-navigation), nor do they have [descendants](https://www.w3.org/TR/dom41/#concept-tree-descendant) in the [flat tree](https://drafts.csswg.org/css-scoping/#flat-tree) that participate in [sequential focus navigation](https://www.w3.org/TR/html/editing.html#sec-sequential-focus-navigation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing stop at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@audreymaniez, @JKODU, @kasperisager, @ShadowBB: After some internal discussions, I have added a test case with tabindex="-2". I hope you can still approve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the applicability: decendent > descendent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Typo fixed. Please review again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure i'm keen on the wording of "participate in sequential focus navigation". I'm open to a plain language improvement there, but besides that, all good.
@DagfinnRomen, #439 and #449 solve two different issues for the same rule. They should not be seen as competing suggestions. In an ideal world, it would have been great if they were handled together, but since there are no conflicts between the two, I think it works fine to review and merge them separately. |
@WilcoFiers, I have changed "participate in [sequential focus navigation]" to "are part of [sequential focus navigation]" in hope to make it a bit easier to read. |
* master: Rule update: "HTML page has a title" (#440) Rule update: "aria attribute allowed" and "aria required states and properties" (#436) Changed succescriteria from 4.1.2 to 1.3.1 (#449) Rename SC1-2-Video-description-track.md to SC1-2-video-description-track.md Glossary: add "Accessibility Support" to "Semantic role" term (#442) SC1-1-1-filename-is-valid-accessible-name (#263) Added assumption for SC3-1-2-lang-valid (#413) Update SC4-1-1-unique-id.md fix: update applicability fix: revert definitions fix: update glossary fix: applicability
* develop: (76 commits) Update SC1-1-1-image-has-name.md (#468) chore: update test case names to be hash and not have outcome (#485) chore: update styles chore: fix styling and spacing on various resolutions chore: fix typo in rules chore: update dependencies chore: add unique id to all rules (#478) fix: move footer from nav fix: update cache version fix: bust dependency cache chore: WCAG ACT RULES CG Website Update (#437) chore: update site publish config Replace auto-wcag with act-r in readme Update _config.yml Rule update: "aria-hidden with focusable content" (#439) Rule update: "HTML page has a title" (#440) Rule update: "aria attribute allowed" and "aria required states and properties" (#436) Changed succescriteria from 4.1.2 to 1.3.1 (#449) Rename SC1-2-Video-description-track.md to SC1-2-video-description-track.md Glossary: add "Accessibility Support" to "Semantic role" term (#442) ...
"focusable" --> "Participate in sequential focus navigation"
Closes issues:
aria-hidden
elements not participate in sequential focus navigation order rather than be not focusable? #374 (Should "Aria-hidden with focusable content" require thataria-hidden
elements not participate in sequential focus navigation order rather than be not focusable?)"contain" --> "have descendants in the flat tree"
Closes issue:
How to Review And Approve