- From: Birkir Gunnarsson <birkir.gunnarsson@deque.com>
- Date: Sun, 24 Apr 2016 16:18:53 -0400
- To: <public-aria@w3.org>
- Message-ID: <015601d19e66$86bad8e0$94308aa0$@deque.com>
All. I am working on an automated accessibility test for required owned elements of ARIA roles. The short version: Can an element own (or contain) elements with roles other than the required owned element role in addition to owning at least one instance of required role? e.g. - Can a tablist own tabpanels in addition to tabs? - Can a menu own a link or a span in addition to menuitem elements? My hnuch is no. If I look at the html equivalent, a <ul> tag can only own <li> tags, script tags or templates. If it owns a span, div or a button that fails validation. But I am not sure enough to write an automated check without further confirmation. ARIA spec Context: The required owned elements section (section 5.2.5 of http://www.w3.org/WAI/PF/aria-1.1/roles) states: "Any element that will be owned by the element with this role. For example, an element with the role list will own at least one element with the role group or listitem. When multiple roles are specified as required owned elements for a role, at least one instance of one required owned element is expected." Maybe it is confusion because English is not my native language, but does "any element" at the beginning of that sentence equate to "every element"? Thanks -Birkir
Received on Sunday, 24 April 2016 20:19:17 UTC