act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
136 stars 67 forks source link

Should ARIA reference rule check aria-activedescendant? #2097

Closed dd8 closed 10 months ago

dd8 commented 1 year ago

The rule description says it checks that every ID reference required by WAI-ARIA exists: https://www.w3.org/WAI/standards-guidelines/act/rules/in6db8/proposed/

But the rule only applies to aria-controls although the text for aria reference processing says:

Any aria-activedescendant value that does not match an existing ID reference exactly is an author error and will not match any element in the DOM.

https://www.w3.org/TR/wai-aria-1.2/#mapping_additional_relations_error_processing

Jym77 commented 10 months ago

Related to https://github.com/w3c/aria/issues/1970 Closing this one, waiting to see what ARIA does.