W3C home > Mailing lists > Public > public-html-a11y@w3.org > January 2012

Re: bug Bug 11891 - add role attribute to list of global attributes and add definition for it (part of Issue 199)

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Sat, 28 Jan 2012 09:14:23 +0000
Message-ID: <CA+ri+V=XfcLNE38Q+MMPPvAZyyTY5=uMoy=WOy2QmTuh66WPiQ@mail.gmail.com>
To: Richard Schwerdtfeger <schwer@us.ibm.com>
Cc: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>, Michael Cooper <cooper@w3.org>, Cynthia Shelly <cyns@microsoft.com>, Ian Hickson <ian@hixie.ch>, Janina Sajka <janina@rednote.net>, Judy Brewer <jbrewer@w3.org>, "Michael(tm) Smith" <mike@w3.org>, HTML Accessibility Task Force <public-html-a11y@w3.org>
Hi rich,

Or would it be better to say something like

"Valid role tokens consist of the non-abstract role values defined in
[WAI-ARIA]" ?


regards
steve

On 28 January 2012 09:04, Steve Faulkner <faulkner.steve@gmail.com> wrote:

> Hi Rich
>
> ben wrote:
>
> "Where does the WAI-ARIA spec define valid role tokens, though?"
>
> looks like *XHTML Vocabulary <http://www.w3.org/1999/xhtml/vocab/> -
> defines list of allowable role tokens.*
> *
> *
> *Is that correct?*
> *
> *
> *regards*
>  *Steve*
>
>
> On 27 January 2012 18:23, Benjamin Hawkes-Lewis <
> bhawkeslewis@googlemail.com> wrote:
>
>> On Fri, Jan 27, 2012 at 3:53 PM, Richard Schwerdtfeger
>> <schwer@us.ibm.com> wrote:
>> > The role attribute describes the role the current element plays in the
>> context of the document. The attribute takes as its value one or more
>> space-separated-tokens representing its role(s). The attribute describes
>> the role(s) the current element plays in the context of the document. This
>> can be used, for example, by applications and assistive technologies to
>> determine the purpose of an element. This could allow a user to make
>> informed decisions on which actions may be taken on an element and activate
>> the selected action in a device independent way. A valid-role-token is
>> defined by [WAI-ARIA].
>>
>> Seems reasonable. Where does the WAI-ARIA spec define valid role tokens,
>> though?
>>
>> For example, how would an HTML conformance checker determine if
>> "accordion" is a valid role token?
>>
>> The spec defines some roles, but also says user agents may extend them
>> with new roles and that future specs will define how to use these new
>> roles interoperably. It does say that "Content authors MUST NOT use
>> abstract roles because they are not implemented in the API binding".
>>
>> Should HTML conformance checkers:
>>
>> 1. Allow any token that is not an abstract role defined in WAI-ARIA
>> (e.g. allow "accordion" and "checkbox" but forbid "input"?
>>
>> 2. Reject any token that is an abstract role defined in WAI-ARIA and
>> additionally require the token list to begin with a concrete role
>> defined in WAI-ARIA (e.g. allow "accordion" and "checkbox" but require
>> "checkbox" to come first).
>>
>> 3. Reject any token that is not a concrete role defined in WAI-ARIA
>> (e.g. reject "accordion" and "input" whereever they occur in the token
>> list)?
>>
>> Whichever way, it would probably be best to be explicit.
>>
>> --
>> Benjamin Hawkes-Lewis
>>
>
>
>
> --
> with regards
>
> Steve Faulkner
> Technical Director - TPG
>
> www.paciellogroup.com | www.HTML5accessibility.com |
> www.twitter.com/stevefaulkner
> HTML5: Techniques for providing useful text alternatives -
> dev.w3.org/html5/alt-techniques/
> Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html
>
>
>


-- 
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html
Received on Saturday, 28 January 2012 09:15:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:52 GMT