W3C home > Mailing lists > Public > public-pfwg-comments@w3.org > July to September 2009

aria -- how much can be inferred?

From: Jim Jewett <jimjjewett@gmail.com>
Date: Tue, 29 Sep 2009 17:54:55 -0400
Message-ID: <fb6fbf560909291454m4c36622xdd752abacb675c70@mail.gmail.com>
To: public-pfwg-comments@w3.org
http://www.w3.org/TR/wai-aria/#mustContain

    Any element that must be owned by the element with this role.
    For example, an element with the role list must own an element
    with the role listitem.

How explicit does this child role have to be?

(a)  Is it enough that the native semantics imply the child role?  (I
assume so.)
(b)  Is it enough that the native semantics plus validity imply the
child role?  (Not as sure.)
For example, in

    <ul role=menu>
        <li role="menuitem">Open file…</li>

is the <li> role optional, because host language semantics make it a
listitem, and the containing list is known to have the menu role?

-jJ
Received on Tuesday, 29 September 2009 21:55:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:42:06 GMT