- From: Diego La Monica \(IWA/HWG\) <d.lamonica@webprofession.com>
- Date: Sun, 21 Dec 2008 12:25:26 +0100
- To: "'David Bolter'" <david.bolter@utoronto.ca>, "'James Craig'" <jcraig@apple.com>
- Cc: "'WAI XTech'" <wai-xtech@w3.org>
Hi James, What about changing the role at run-time? Rude Example: <span role="button" onclick="this.setAttribute('role','textbox')">Click me to edit</span> Is it more simple than adding something new in the specs? Cheers. --- Diego La Monica International Webmasters Association / The HTML Writers Guild http://www.iwanet.org -----Messaggio originale----- Da: wai-xtech-request@w3.org [mailto:wai-xtech-request@w3.org] Per conto di David Bolter Inviato: sabato 20 dicembre 2008 17.54 A: James Craig Cc: WAI XTech Oggetto: 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 Sunday, 21 December 2008 11:30:05 UTC