W3C home > Mailing lists > Public > public-pfwg@w3.org > February 2015

Re: make aria-owns to rearrange children

From: Joseph Scheuhammer <clown@alum.mit.edu>
Date: Thu, 19 Feb 2015 11:29:02 -0500
Message-ID: <54E60F4E.5000304@alum.mit.edu>
To: Alexander Surkov <surkov.alexander@gmail.com>, Dominic Mazzoni <dmazzoni@google.com>
CC: James Nurthen <james.nurthen@oracle.com>, W3C WAI Protocols & Formats <public-pfwg@w3.org>
On 2015-02-17 12:36 PM, Alexander Surkov wrote:
> I think I like the idea to use querySelector for aria-owns value (for 
> all idrefs attributes?).

FYI, this is an ARIA 2.0 issue/action.
- ISSUE-653: Need to support selectors in ARIA relationships [1].
- ACTION-1427: Propose (at-risk) solution for selector references to be 
used in conjunction with IDREF [2].

These could be moved up to ARIA 1.1.  That would require testable 
implementations in the 1.1 time frame.

[1] https://www.w3.org/WAI/PF/Group/track/issues/653
[2] https://www.w3.org/WAI/PF/Group/track/actions/1427

>
> On Tue, Feb 17, 2015 at 12:20 PM, Dominic Mazzoni <dmazzoni@google.com 
> <mailto:dmazzoni@google.com>> wrote:
>
>     On Tue, Feb 17, 2015 at 9:09 AM, James Nurthen
>     <james.nurthen@oracle.com <mailto:james.nurthen@oracle.com>> wrote:
>
>         One issue with aria-owns is that as soon as you start to use
>         it you end up with a massive number of idrefs.
>
>
>     We discussed this problem a while back in the context of web
>     components, and there were at least two possible solutions I
>     thought could work:
>
>     * Expose reflected attributes on an Element, allowing for example:
>     parent.ariaOwns = [child3, child2, child1]; or
>     parent.ariaActiveDescendant = child2;
>     * Alllow a querySelector string in place of an idref, for example
>     <tr aria-owns="query(.leftcells .rightcells)"> or <div
>     aria-activedescendant="query([tabIndex='0'])">.
>
>     Are you still interested in pursuing either of those, or even
>     both? I might like to try implementing one of those behind a flag
>     if the group can come to a tentative consensus.
>
>     FWIW, I like Alexander's idea of allowing aria-owns for sibling
>     relationships. I think we should do it either way, and then solve
>     the IDREF problem in general.
>
>     - Dominic
>

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -
Received on Thursday, 19 February 2015 16:29:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:45:23 UTC