Re: Comment on XML 2 Events

Greetings, I do not seem to be able to find a version of the XML Events 2 
specification that includes a <purpose> element. However, I believe that 
the notion is a good one though I do not believe that it goes far enough.

XForms allows three pieces of information to be associated with an action, 
each of which can be used in different circumstances. These are the 
<label>, <hint> and <help> elements [1].

The latest version of the XML Events 2 spec is lacking in examples in the 
Handlers section [2]. Something along the lines of the following is what I 
have in mind:

<action id="doThis">
  <label>Do This</label>
  <hint>performing this action will delight you.</hint>
  ...
</action>

and to allow the same ability with a script handler. . . 

<action id="doThat">
  <label>Do That</label>
  <hint>performing this action will delight you.</hint>
  <script type="application/x-javascript">
   doactivate(event);
  </script>
</action>

[1] http://www.w3.org/TR/xforms/#ui-commonelems
[2] 
http://www.w3.org/TR/2007/WD-xml-events-20070216/#s_handler_module_elements

Regards, Roland




Mark Birbeck <mark.birbeck@x-port.net> 
Sent by: public-xhtml2-request@w3.org
11/11/2007 21:53

To
Richard Schwerdtfeger <schwer@us.ibm.com>
cc
public-xhtml2@w3.org, www-html-editor@w3.org
Subject
Re: Comment on XML 2 Events







Hi Rich,

Yes, I just re-read your email, and realised what you were saying. 
Sorry about that.

However, using an element in this way sounds just like the plain text 
equivalent of @role, which therefore means it would probably have 
wider applicability than just <action>. I wonder if we should look at 
trying to generalise this.

Any thoughts on that?

Regards,

Mark


-- 
   Mark Birbeck, formsPlayer

   mark.birbeck@formsPlayer.com | +44 (0) 20 7689 9232
   http://www.formsPlayer.com | http://internet-apps.blogspot.com

   standards. innovation.

On 11 Nov 2007, at 21:46, Richard Schwerdtfeger wrote:

> Hi Mark,
>
> Not the same. purpose is just the description. When providing the 
> information to an assistive technology we can enumerate the named 
> actions.
>
> Rich
>
>
> Rich Schwerdtfeger
> Distinguished Engineer, SWG Accessibility Architect/Strategist
> Chair, IBM Accessibility Architecture Review Board
> blog: http://www.ibm.com/developerworks/blogs/page/schwer
> <graycol.gif>Mark Birbeck <mark.birbeck@x-port.net>
>
>
> Mark Birbeck <mark.birbeck@x-port.net>
> 11/11/2007 03:26 PM
>
> <ecblank.gif>
> To
> <ecblank.gif>
> Richard Schwerdtfeger/Austin/IBM@IBMUS
> <ecblank.gif>
> cc
> <ecblank.gif>
> public-xhtml2@w3.org, www-html-editor@w3.org
> <ecblank.gif>
> Subject
> <ecblank.gif>
> Re: Comment on XML 2 Events
> <ecblank.gif><ecblank.gif>
>
> Hi Rich,
>
> Are you sure it wasn't consciously dropped in favour of @role? It's
> the kind of thing we'd do. :)
>
> Regards,
>
> Mark
>
> -- 
>   Mark Birbeck, formsPlayer
>
>   mark.birbeck@formsPlayer.com | +44 (0) 20 7689 9232
>   http://www.formsPlayer.com | http://internet-apps.blogspot.com
>
>   standards. innovation.
>
> On 9 Nov 2007, at 20:32, Richard Schwerdtfeger wrote:
>
> > The <purpose> element was dropped from actions in the XML Events 2
> > specification. If you recall we had a purpose element as a child of
> > the old handler element which is now called <action>. We need
> > purpose to be a child of this.
> >
> > <purpose> would contain text describing the purpose of the action
> > which could be supported by a platform accessibility api to list
> > the actions that can beformed on a document object.
> >
> > I would request that this be added.
> >
> > Rich
> >
> > Rich Schwerdtfeger
> > Distinguished Engineer, SWG Accessibility Architect/Strategist
> > Chair, IBM Accessibility Architecture Review Board
> > blog: http://www.ibm.com/developerworks/blogs/page/schwer
> >
>
>
>









Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Received on Wednesday, 14 November 2007 13:44:31 UTC