RE: Fwd: aria-transforms?

Hi David,
This sounds like an interesting idea, more so from the user interaction
prospective than from a technical one.
It is one thing to change roles dynamically, it is another to notify the
user that there will be a transformation of one control into another. If
AT had this information, a help message could be generated to the effect
"press ENTER to make this editable" or something like that.


-----Original Message-----
From: wai-xtech-request@w3.org [mailto:wai-xtech-request@w3.org] On
Behalf Of David Bolter
Sent: Saturday, December 20, 2008 8:54 AM
To: James Craig
Cc: WAI XTech
Subject: Re: Fwd: aria-transforms?


Sure, but the user I spoke with uses a screen reader. I want to know how
we can provide the semantic hints required for the AT to say "hey this
is something that needs to be activated to go into an edit mode"...

cheers,
David

James Craig wrote:
> Meant to reply to the discussion list.
>
>
> Begin forwarded message:
>
>> From: James Craig <jcraig@apple.com>
>> Date: December 20, 2008 8:39:56 AM PST
>> To: David Bolter <david.bolter@utoronto.ca>
>> Subject: Re: aria-transforms?
>>
>
>> In your example below, there isn't a reason for the role change. It 
>> can just be a textbox whose style (and perhaps its aria-readonly
>> property) changes when it is focused or clicked, no? I don't think 
>> there is a need for it to be a button prior to that event.
>>
>> Do you have any examples where there may need to be a functional 
>> change rather than just a stylistic one? If it's just appearance 
>> changes you're after, I'd say leave that to CSS, perhaps even to the 
>> new CSS transition proposal.
>>
>> Example:
>>
>> [role="textbox"] {
>>  border-color: #fff;
>>  border-color: rgba(0,0,0,0);
>>  transition: border-color 1s liner;
>>  /* currently needs -moz or -webkit prefix */ } 
>> [role="textbox"][aria-readonly="false"] {
>>  border-color: #000;
>>  border-color: rgba(0,0,0,1);
>> }
>>
>>
>>
>> On Dec 20, 2008, at 7:26 AM, David Bolter <david.bolter@utoronto.ca>
>> wrote:
>>
>>>
>>> Hi all,
>>>
>>> This might be an ARIA 2.0 thing.
>>>
>>> I'm just throwing this out there. Maybe it is my Saturday morning 
>>> coffee talking but I got to thinking about DHTML inline edits, and I

>>> started thinking of ways we might come up with a more general 
>>> solution for things that appear to transform themselves.
>>>
>>> aria-transforms=[aria role(s)]
>>>
>>> So in the case of an inline edit, one could mark the span like this:
>>>
>>> <span role="button" aria-transforms="textbox">change this 
>>> text</span>
>>>
>>> Thoughts?  Is it the coffee?  I was also thinking about an 
>>> aria-hastextbox, akin to a haspopup, but that is a less general 
>>> solution IMO.
>>>
>>> cheers,
>>> David
>>>
>

Received on Monday, 22 December 2008 18:00:42 UTC