OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only
Expand all | Collapse all

radio buttons wrap-up

  • 1.  radio buttons wrap-up

    Posted 12-03-2008 18:30
    OK,
    
    here is my wrap-up of radio buttons, and the relation to the proposal
    for introducing 


  • 2.  Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 05:23
    And to step in a little here...
    
    On Wed, 2008-12-03 at 19:29 +0100, Malte Timmermann wrote:
    > here is my wrap-up of radio buttons, and the relation to the proposal
    > for introducing 


  • 3.  Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 09:37
    Hi Jonathan,
    
    thanks for looking at this so quickly :)
    
    BTW - before I start:
    We talk about ODF here, so please avoid phrases like "You can say
    that you are like HTML, but you're not".
    This sounds like "you/ODF is this way, but we/OOXML would like...".
    
    Anyway...
    
    In the end we both agree, it must be possible to have different
    identifiers for defining the group and for accessing the individual element.
    
    So we might introduce an additional attribute for the group, or for the ID.
    
    You would like to add something for group, because it's more like in OOXML.
    
    I suggest to add something for ID - for compatibility reasons, and maybe
    it would also be/stay more similar to HTML.
    
    My concerns with compatibility:
    
    Grouping support shouldn't break in existing applications.
    Of course you can provide patches like suggested below for different
    apps, but this doesn't help older apps loading newer documents.
    And you can't know how many apps/tools out there already rely on the
    existing mechanism.
    
    I must admit that my suggestion is mainly based on technical/practical
    considerations.
    
    From an aesthetic point of view I would more like the group-name ;)
    
    Malte.
    
    
    PS: I think we all agree that this is not an Accessibility issue, so the
    main ODF list is probably the better place to discuss this...
    
    
    Jonathan Pryor wrote, On 12/ 4/08 06:23 AM:
    > And to step in a little here...
    > 
    > On Wed, 2008-12-03 at 19:29 +0100, Malte Timmermann wrote:
    >> here is my wrap-up of radio buttons, and the relation to the proposal
    >> for introducing 


  • 4.  Re: [office] Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 10:42
    Hi all,
    
    If I recall it correctly, then the way it works in HTML is as follows:
    
    - Radio buttons are indeed grouped by their name.
    - For Javascript, all radio buttons that have the same name are combined 
    into an array, so that the access to the individual button is possible.
    - There is further the possibility to access radio buttons like any 
    other HTML element by their ID attribute.
    
    Well, I have not uses JavaScript for the last 10 years or so, but that 
    is what I recall.
    
    ODF like HTML uses the name for grouping.
    In ODF 1.0/1.1 we had a form:id attribute for all controls, including 
    radio buttons. We have consolidated that for ODF 1.2, so that these now 
    have an xml:id.
    
    That means: It is possible to identify controls by their ID, or by their 
    name (which is also used for grouping). And it is in particular possible 
    to assign an ID to a radio button in addition to a name. I'm therefore 
    not sure if I do understand what is missing here, or why we should 
    require a third name or ID, which in any case does not make things easier.
    
    Well, it is true that the script engine of OpenOffice.org does use the 
    name of controls to access them rather then their ID and that there 
    currently is no UI support for xml:id. But these are details of the 
    implementation. The script engine may also search for the ID of controls 
    if this is more appropriate.
    
    I hope this helps.
    
    Michael
    
    
    On 12/ 4/08 10:36 AM, Malte Timmermann wrote:
    > Hi Jonathan,
    > 
    > thanks for looking at this so quickly :)
    > 
    > BTW - before I start:
    > We talk about ODF here, so please avoid phrases like "You can say
    > that you are like HTML, but you're not".
    > This sounds like "you/ODF is this way, but we/OOXML would like...".
    > 
    > Anyway...
    > 
    > In the end we both agree, it must be possible to have different
    > identifiers for defining the group and for accessing the individual element.
    > 
    > So we might introduce an additional attribute for the group, or for the ID.
    > 
    > You would like to add something for group, because it's more like in OOXML.
    > 
    > I suggest to add something for ID - for compatibility reasons, and maybe
    > it would also be/stay more similar to HTML.
    > 
    > My concerns with compatibility:
    > 
    > Grouping support shouldn't break in existing applications.
    > Of course you can provide patches like suggested below for different
    > apps, but this doesn't help older apps loading newer documents.
    > And you can't know how many apps/tools out there already rely on the
    > existing mechanism.
    > 
    > I must admit that my suggestion is mainly based on technical/practical
    > considerations.
    > 
    > From an aesthetic point of view I would more like the group-name ;)
    > 
    > Malte.
    > 
    > 
    > PS: I think we all agree that this is not an Accessibility issue, so the
    > main ODF list is probably the better place to discuss this...
    > 
    > 
    > Jonathan Pryor wrote, On 12/ 4/08 06:23 AM:
    >> And to step in a little here...
    >>
    >> On Wed, 2008-12-03 at 19:29 +0100, Malte Timmermann wrote:
    >>> here is my wrap-up of radio buttons, and the relation to the proposal
    >>> for introducing 


  • 5.  Re: [office-accessibility] Re: [office] Re: [office-accessibility]radio buttons wrap-up

    Posted 12-04-2008 17:14
    On Thu, 2008-12-04 at 11:41 +0100, Michael Brauer - Sun Germany - ham02
    - Hamburg wrote:
    > If I recall it correctly, then the way it works in HTML is as follows:
    > 
    > - Radio buttons are indeed grouped by their name.
    > - For Javascript, all radio buttons that have the same name are combined 
    > into an array, so that the access to the individual button is possible.
    > - There is further the possibility to access radio buttons like any 
    > other HTML element by their ID attribute.
    
    That is correct.
    
    > ODF like HTML uses the name for grouping.
    > In ODF 1.0/1.1 we had a form:id attribute for all controls, including 
    > radio buttons. We have consolidated that for ODF 1.2, so that these now 
    > have an xml:id.
    > 
    > That means: It is possible to identify controls by their ID, or by their 
    > name (which is also used for grouping). And it is in particular possible 
    > to assign an ID to a radio button in addition to a name. I'm therefore 
    > not sure if I do understand what is missing here, or why we should 
    > require a third name or ID, which in any case does not make things easier.
    
    What's missing is that I didn't know about the addition of xml:id, nor
    did anyone else I conferred with.  xml:id should be a workable answer,
    and I'll work on supporting this.
    
    > Well, it is true that the script engine of OpenOffice.org does use the 
    > name of controls to access them rather then their ID and that there 
    > currently is no UI support for xml:id. But these are details of the 
    > implementation. The script engine may also search for the ID of controls 
    > if this is more appropriate.
    
    A related question is one of naming: is it acceptable within the script
    engine to have two different names for the same control?  If not, then
    xml:id could pose problematic.  I don't know if the ODF standard says
    anything about this scenario.
    
    Thanks,
     - Jon
    
    
    


  • 6.  Re: [office] Re: [office-accessibility] Re: [office] Re: [office-accessibility]radio buttons wrap-up

    Posted 12-04-2008 23:29

    response below


    Rich Schwerdtfeger
    Distinguished Engineer, SWG Accessibility Architect/Strategist
    blog: http://www.ibm.com/developerworks/blogs/page/schwer

    Jonathan Pryor <jpryor@novell.com> wrote on 12/04/2008 11:14:37 AM:

    > Jonathan Pryor <jpryor@novell.com>

    > 12/04/2008 11:14 AM
    >
    > To

    >
    > Michael Brauer - Sun Germany - ham02 - Hamburg <Michael.Brauer@Sun.COM>

    >
    > cc

    >
    > office TC <office@lists.oasis-open.org>, office-
    > accessibility@lists.oasis-open.org, Robert Weir/Cambridge/IBM@Lotus

    >
    > Subject

    >
    > [office] Re: [office-accessibility] Re: [office] Re: [office-
    > accessibility] radio buttons wrap-up

    >
    > On Thu, 2008-12-04 at 11:41 +0100, Michael Brauer - Sun Germany - ham02
    > - Hamburg wrote:
    > > If I recall it correctly, then the way it works in HTML is as follows:
    > >
    > > - Radio buttons are indeed grouped by their name.
    > > - For Javascript, all radio buttons that have the same name are combined
    > > into an array, so that the access to the individual button is possible.
    > > - There is further the possibility to access radio buttons like any
    > > other HTML element by their ID attribute.
    >
    > That is correct.
    >

    We are ignoring another problem here which has to do with actually labelling the group. Today,
    ODF allows you to express labels for individual controls as it takes a form id. So potentially,
    you can ODF markup which labels members of a group or not. So, it is insufficient to just mark
    each radio button with the group they belong to. For accessibility you want to be able to group elements
    and label the group.  It seems to easy to fall into the weeds of labelling controls that are part of a group and those that are not.

    Also, why would there not be a group concept for other things like radio buttons. I can imagine a form where a set of
    checkboxes are related to an operation and could be grouped semantically.

    <form:form form:name="Standard" >
    <form:fixed-text form:name="LabelField1" form:for="foo" form:label="LABEL 1" />

    <xform:group id="foo">
    <form:checkbox>
    ...
    </xform:group>

    You could then make statements on radio buttons as members of the group where they can only be single select radios.

    Seems like we are being too limiting here with the use of groups.
     
    > > ODF like HTML uses the name for grouping.
    > > In ODF 1.0/1.1 we had a form:id attribute for all controls, including
    > > radio buttons. We have consolidated that for ODF 1.2, so that these now
    > > have an xml:id.
    > >
    > > That means: It is possible to identify controls by their ID, or by their
    > > name (which is also used for grouping). And it is in particular possible
    > > to assign an ID to a radio button in addition to a name. I'm therefore
    > > not sure if I do understand what is missing here, or why we should
    > > require a third name or ID, which in any case does not make things easier.
    >
    > What's missing is that I didn't know about the addition of xml:id, nor
    > did anyone else I conferred with.  xml:id should be a workable answer,
    > and I'll work on supporting this.
    >
    > > Well, it is true that the script engine of OpenOffice.org does use the
    > > name of controls to access them rather then their ID and that there
    > > currently is no UI support for xml:id. But these are details of the
    > > implementation. The script engine may also search for the ID of controls
    > > if this is more appropriate.
    >
    > A related question is one of naming: is it acceptable within the script
    > engine to have two different names for the same control?  If not, then
    > xml:id could pose problematic.  I don't know if the ODF standard says
    > anything about this scenario.
    >
    > Thanks,
    >  - Jon
    >
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe from this mail list, you must leave the OASIS TC that
    > generates this mail.  Follow this link to all your TCs in OASIS at:
    > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
    >
    >



  • 7.  Re: [office] Re: [office-accessibility] Re: [office] Re: [office-accessibility]radio buttons wrap-up

    Posted 12-04-2008 23:29

    response below


    Rich Schwerdtfeger
    Distinguished Engineer, SWG Accessibility Architect/Strategist
    blog: http://www.ibm.com/developerworks/blogs/page/schwer

    Jonathan Pryor <jpryor@novell.com> wrote on 12/04/2008 11:14:37 AM:

    > Jonathan Pryor <jpryor@novell.com>

    > 12/04/2008 11:14 AM
    >
    > To

    >
    > Michael Brauer - Sun Germany - ham02 - Hamburg <Michael.Brauer@Sun.COM>

    >
    > cc

    >
    > office TC <office@lists.oasis-open.org>, office-
    > accessibility@lists.oasis-open.org, Robert Weir/Cambridge/IBM@Lotus

    >
    > Subject

    >
    > [office] Re: [office-accessibility] Re: [office] Re: [office-
    > accessibility] radio buttons wrap-up

    >
    > On Thu, 2008-12-04 at 11:41 +0100, Michael Brauer - Sun Germany - ham02
    > - Hamburg wrote:
    > > If I recall it correctly, then the way it works in HTML is as follows:
    > >
    > > - Radio buttons are indeed grouped by their name.
    > > - For Javascript, all radio buttons that have the same name are combined
    > > into an array, so that the access to the individual button is possible.
    > > - There is further the possibility to access radio buttons like any
    > > other HTML element by their ID attribute.
    >
    > That is correct.
    >

    We are ignoring another problem here which has to do with actually labelling the group. Today,
    ODF allows you to express labels for individual controls as it takes a form id. So potentially,
    you can ODF markup which labels members of a group or not. So, it is insufficient to just mark
    each radio button with the group they belong to. For accessibility you want to be able to group elements
    and label the group.  It seems to easy to fall into the weeds of labelling controls that are part of a group and those that are not.

    Also, why would there not be a group concept for other things like radio buttons. I can imagine a form where a set of
    checkboxes are related to an operation and could be grouped semantically.

    <form:form form:name="Standard" >
    <form:fixed-text form:name="LabelField1" form:for="foo" form:label="LABEL 1" />

    <xform:group id="foo">
    <form:checkbox>
    ...
    </xform:group>

    You could then make statements on radio buttons as members of the group where they can only be single select radios.

    Seems like we are being too limiting here with the use of groups.
     
    > > ODF like HTML uses the name for grouping.
    > > In ODF 1.0/1.1 we had a form:id attribute for all controls, including
    > > radio buttons. We have consolidated that for ODF 1.2, so that these now
    > > have an xml:id.
    > >
    > > That means: It is possible to identify controls by their ID, or by their
    > > name (which is also used for grouping). And it is in particular possible
    > > to assign an ID to a radio button in addition to a name. I'm therefore
    > > not sure if I do understand what is missing here, or why we should
    > > require a third name or ID, which in any case does not make things easier.
    >
    > What's missing is that I didn't know about the addition of xml:id, nor
    > did anyone else I conferred with.  xml:id should be a workable answer,
    > and I'll work on supporting this.
    >
    > > Well, it is true that the script engine of OpenOffice.org does use the
    > > name of controls to access them rather then their ID and that there
    > > currently is no UI support for xml:id. But these are details of the
    > > implementation. The script engine may also search for the ID of controls
    > > if this is more appropriate.
    >
    > A related question is one of naming: is it acceptable within the script
    > engine to have two different names for the same control?  If not, then
    > xml:id could pose problematic.  I don't know if the ODF standard says
    > anything about this scenario.
    >
    > Thanks,
    >  - Jon
    >
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe from this mail list, you must leave the OASIS TC that
    > generates this mail.  Follow this link to all your TCs in OASIS at:
    > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
    >
    >



  • 8.  Re: [office] Re: [office-accessibility] Re: [office] Re:[office-accessibility] radio buttons wrap-up

    Posted 12-05-2008 07:38
    Jonathan,
    
    On 12/04/08 18:14, Jonathan Pryor wrote:
    > On Thu, 2008-12-04 at 11:41 +0100, Michael Brauer - Sun Germany - ham02
    >> That means: It is possible to identify controls by their ID, or by their 
    >> name (which is also used for grouping). And it is in particular possible 
    >> to assign an ID to a radio button in addition to a name. I'm therefore 
    >> not sure if I do understand what is missing here, or why we should 
    >> require a third name or ID, which in any case does not make things easier.
    > 
    > What's missing is that I didn't know about the addition of xml:id, nor
    > did anyone else I conferred with.  xml:id should be a workable answer,
    > and I'll work on supporting this.
    
    That sounds good to me.
    
    > 
    >> Well, it is true that the script engine of OpenOffice.org does use the 
    >> name of controls to access them rather then their ID and that there 
    >> currently is no UI support for xml:id. But these are details of the 
    >> implementation. The script engine may also search for the ID of controls 
    >> if this is more appropriate.
    > 
    > A related question is one of naming: is it acceptable within the script
    > engine to have two different names for the same control?  If not, then
    > xml:id could pose problematic.  I don't know if the ODF standard says
    > anything about this scenario.
    
    ODF does not say anything about this.
    
    Best regards
    
    Michael
    > 
    > Thanks,
    >  - Jon
    > 
    > 
    > 
    > ---------------------------------------------------------------------
    > To unsubscribe from this mail list, you must leave the OASIS TC that
    > generates this mail.  Follow this link to all your TCs in OASIS at:
    > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 
    > 
    
    
    -- 
    Michael Brauer, Technical Architect Software Engineering
    StarOffice/OpenOffice.org
    Sun Microsystems GmbH             Nagelsweg 55
    D-20097 Hamburg, Germany          michael.brauer@sun.com
    http://sun.com/staroffice         +49 40 23646 500
    http://blogs.sun.com/GullFOSS
    
    Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
    	   D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    


  • 9.  Re: [office] Re: [office-accessibility] Re: [office] Re:[office-accessibility] radio buttons wrap-up

    Posted 12-05-2008 07:38
    Jonathan,
    
    On 12/04/08 18:14, Jonathan Pryor wrote:
    > On Thu, 2008-12-04 at 11:41 +0100, Michael Brauer - Sun Germany - ham02
    >> That means: It is possible to identify controls by their ID, or by their 
    >> name (which is also used for grouping). And it is in particular possible 
    >> to assign an ID to a radio button in addition to a name. I'm therefore 
    >> not sure if I do understand what is missing here, or why we should 
    >> require a third name or ID, which in any case does not make things easier.
    > 
    > What's missing is that I didn't know about the addition of xml:id, nor
    > did anyone else I conferred with.  xml:id should be a workable answer,
    > and I'll work on supporting this.
    
    That sounds good to me.
    
    > 
    >> Well, it is true that the script engine of OpenOffice.org does use the 
    >> name of controls to access them rather then their ID and that there 
    >> currently is no UI support for xml:id. But these are details of the 
    >> implementation. The script engine may also search for the ID of controls 
    >> if this is more appropriate.
    > 
    > A related question is one of naming: is it acceptable within the script
    > engine to have two different names for the same control?  If not, then
    > xml:id could pose problematic.  I don't know if the ODF standard says
    > anything about this scenario.
    
    ODF does not say anything about this.
    
    Best regards
    
    Michael
    > 
    > Thanks,
    >  - Jon
    > 
    > 
    > 
    > ---------------------------------------------------------------------
    > To unsubscribe from this mail list, you must leave the OASIS TC that
    > generates this mail.  Follow this link to all your TCs in OASIS at:
    > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 
    > 
    
    
    -- 
    Michael Brauer, Technical Architect Software Engineering
    StarOffice/OpenOffice.org
    Sun Microsystems GmbH             Nagelsweg 55
    D-20097 Hamburg, Germany          michael.brauer@sun.com
    http://sun.com/staroffice         +49 40 23646 500
    http://blogs.sun.com/GullFOSS
    
    Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
    	   D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    


  • 10.  Re: [office-accessibility] Re: [office] Re: [office-accessibility]radio buttons wrap-up

    Posted 12-04-2008 17:14
    On Thu, 2008-12-04 at 11:41 +0100, Michael Brauer - Sun Germany - ham02
    - Hamburg wrote:
    > If I recall it correctly, then the way it works in HTML is as follows:
    > 
    > - Radio buttons are indeed grouped by their name.
    > - For Javascript, all radio buttons that have the same name are combined 
    > into an array, so that the access to the individual button is possible.
    > - There is further the possibility to access radio buttons like any 
    > other HTML element by their ID attribute.
    
    That is correct.
    
    > ODF like HTML uses the name for grouping.
    > In ODF 1.0/1.1 we had a form:id attribute for all controls, including 
    > radio buttons. We have consolidated that for ODF 1.2, so that these now 
    > have an xml:id.
    > 
    > That means: It is possible to identify controls by their ID, or by their 
    > name (which is also used for grouping). And it is in particular possible 
    > to assign an ID to a radio button in addition to a name. I'm therefore 
    > not sure if I do understand what is missing here, or why we should 
    > require a third name or ID, which in any case does not make things easier.
    
    What's missing is that I didn't know about the addition of xml:id, nor
    did anyone else I conferred with.  xml:id should be a workable answer,
    and I'll work on supporting this.
    
    > Well, it is true that the script engine of OpenOffice.org does use the 
    > name of controls to access them rather then their ID and that there 
    > currently is no UI support for xml:id. But these are details of the 
    > implementation. The script engine may also search for the ID of controls 
    > if this is more appropriate.
    
    A related question is one of naming: is it acceptable within the script
    engine to have two different names for the same control?  If not, then
    xml:id could pose problematic.  I don't know if the ODF standard says
    anything about this scenario.
    
    Thanks,
     - Jon
    
    
    


  • 11.  Re: [office] Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 10:42
    Hi all,
    
    If I recall it correctly, then the way it works in HTML is as follows:
    
    - Radio buttons are indeed grouped by their name.
    - For Javascript, all radio buttons that have the same name are combined 
    into an array, so that the access to the individual button is possible.
    - There is further the possibility to access radio buttons like any 
    other HTML element by their ID attribute.
    
    Well, I have not uses JavaScript for the last 10 years or so, but that 
    is what I recall.
    
    ODF like HTML uses the name for grouping.
    In ODF 1.0/1.1 we had a form:id attribute for all controls, including 
    radio buttons. We have consolidated that for ODF 1.2, so that these now 
    have an xml:id.
    
    That means: It is possible to identify controls by their ID, or by their 
    name (which is also used for grouping). And it is in particular possible 
    to assign an ID to a radio button in addition to a name. I'm therefore 
    not sure if I do understand what is missing here, or why we should 
    require a third name or ID, which in any case does not make things easier.
    
    Well, it is true that the script engine of OpenOffice.org does use the 
    name of controls to access them rather then their ID and that there 
    currently is no UI support for xml:id. But these are details of the 
    implementation. The script engine may also search for the ID of controls 
    if this is more appropriate.
    
    I hope this helps.
    
    Michael
    
    
    On 12/ 4/08 10:36 AM, Malte Timmermann wrote:
    > Hi Jonathan,
    > 
    > thanks for looking at this so quickly :)
    > 
    > BTW - before I start:
    > We talk about ODF here, so please avoid phrases like "You can say
    > that you are like HTML, but you're not".
    > This sounds like "you/ODF is this way, but we/OOXML would like...".
    > 
    > Anyway...
    > 
    > In the end we both agree, it must be possible to have different
    > identifiers for defining the group and for accessing the individual element.
    > 
    > So we might introduce an additional attribute for the group, or for the ID.
    > 
    > You would like to add something for group, because it's more like in OOXML.
    > 
    > I suggest to add something for ID - for compatibility reasons, and maybe
    > it would also be/stay more similar to HTML.
    > 
    > My concerns with compatibility:
    > 
    > Grouping support shouldn't break in existing applications.
    > Of course you can provide patches like suggested below for different
    > apps, but this doesn't help older apps loading newer documents.
    > And you can't know how many apps/tools out there already rely on the
    > existing mechanism.
    > 
    > I must admit that my suggestion is mainly based on technical/practical
    > considerations.
    > 
    > From an aesthetic point of view I would more like the group-name ;)
    > 
    > Malte.
    > 
    > 
    > PS: I think we all agree that this is not an Accessibility issue, so the
    > main ODF list is probably the better place to discuss this...
    > 
    > 
    > Jonathan Pryor wrote, On 12/ 4/08 06:23 AM:
    >> And to step in a little here...
    >>
    >> On Wed, 2008-12-03 at 19:29 +0100, Malte Timmermann wrote:
    >>> here is my wrap-up of radio buttons, and the relation to the proposal
    >>> for introducing 


  • 12.  Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 14:28
    On Thu, 2008-12-04 at 10:36 +0100, Malte Timmermann wrote:
    > BTW - before I start:
    > We talk about ODF here, so please avoid phrases like "You can say
    > that you are like HTML, but you're not".
    > This sounds like "you/ODF is this way, but we/OOXML would like...".
    
    Actually, I did this work *before* I did any OOXML work.  It was done
    for .xls interoperability.
    
    So I was intending to say "you/ODF says you're like HTML, but you're
    not, because HTML supports XXX while ODF doesn't."
    
    > In the end we both agree, it must be possible to have different
    > identifiers for defining the group and for accessing the individual element.
    > 
    > So we might introduce an additional attribute for the group, or for the ID.
    > 
    > You would like to add something for group, because it's more like in OOXML.
    
    Actually, OOXML does this entirely differently; I proposed
    forma:group-name because that was the suggested solution on the
    dev@dba.openoffice.org list.  OOXML still has separate ids and group
    names, but they're not located on the same element.
    
    (Specifically, in OOXML the `id` is stored in
    a /worksheet/controls/control/@name attribute, while //control/@r:id is
    a resource reference to the actual radio button, which in turn has
    a /ax:ocx/ax:ocxPr[ax:name="GroupName"] element
    where //ax:ocxPr/@ax:value contains the group name.  ~Completely
    different than the proposed form:group-name attribute. ;-)
    
    > I suggest to add something for ID - for compatibility reasons, and maybe
    > it would also be/stay more similar to HTML.
    
    The problem is, compatibility with *what*?  This is a classic "damned if
    you do, damned if you don't" scenario.
    
    If we introduce something for ID, we "break" scripting, or need to
    require that scripting check for both form:name and the ID attribute
    values (and then what happens if both are provided?  is it sane to have
    two different names for the same object?).
    
    Alternatively, we introduce form:group-name, and break existing apps
    which assume that form:name is the only way that radio buttons are
    grouped.
    
    I have no real preference which way we go, I'm just trying to point out
    that there are disadvantages to either approach.  The advantage to
    form:group-name is that we have code to support it now (and/or code we
    can alter to support it now, take your pick), while I have no idea what
    would need to be done to the OpenOffice.org scripting infrastructure to
    support an ID attribute.
    
    > My concerns with compatibility:
    > 
    > Grouping support shouldn't break in existing applications.
    > Of course you can provide patches like suggested below for different
    > apps, but this doesn't help older apps loading newer documents.
    > And you can't know how many apps/tools out there already rely on the
    > existing mechanism.
    
    True, but there could be any number of features that get added that,
    when used, will cause older apps to mis-treat the file or load it
    erroneously.  For example, what if we add a new spreadsheet function in
    a future version of the spec?  Older apps won't support the function,
    and thus there will be errors when older apps try to load the file.
    
    So yes, this is an issue, but I'm not convinced it should be of primary
    importance.  As far as I'm currently concerned, the real question is
    "which do we want to break, scripting or grouping?"
    
    > I must admit that my suggestion is mainly based on technical/practical
    > considerations.
    
    My suggestion is based on talks on dev@dba.openoffice.org, which
    suggested adding the form:group-name attribute. :-)
    
    Introducing an equivalent for ID wasn't even mentioned, though there
    were only 2-3 people involved on that thread, iirc...
    
    > >From an aesthetic point of view I would more like the group-name ;)
    > 
    > Malte.
    > 
    > 
    > PS: I think we all agree that this is not an Accessibility issue, so the
    > main ODF list is probably the better place to discuss this...
    
    Yes, but it's the accessibility list which nixed the form:group-name
    proposal when it was originally introduced. :-)
    
    So I figure if we can get the accessibility list to approve, it will
    actually have a chance of passing.
    
     - Jon
    
    
    


  • 13.  Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 14:28
    On Thu, 2008-12-04 at 10:36 +0100, Malte Timmermann wrote:
    > BTW - before I start:
    > We talk about ODF here, so please avoid phrases like "You can say
    > that you are like HTML, but you're not".
    > This sounds like "you/ODF is this way, but we/OOXML would like...".
    
    Actually, I did this work *before* I did any OOXML work.  It was done
    for .xls interoperability.
    
    So I was intending to say "you/ODF says you're like HTML, but you're
    not, because HTML supports XXX while ODF doesn't."
    
    > In the end we both agree, it must be possible to have different
    > identifiers for defining the group and for accessing the individual element.
    > 
    > So we might introduce an additional attribute for the group, or for the ID.
    > 
    > You would like to add something for group, because it's more like in OOXML.
    
    Actually, OOXML does this entirely differently; I proposed
    forma:group-name because that was the suggested solution on the
    dev@dba.openoffice.org list.  OOXML still has separate ids and group
    names, but they're not located on the same element.
    
    (Specifically, in OOXML the `id` is stored in
    a /worksheet/controls/control/@name attribute, while //control/@r:id is
    a resource reference to the actual radio button, which in turn has
    a /ax:ocx/ax:ocxPr[ax:name="GroupName"] element
    where //ax:ocxPr/@ax:value contains the group name.  ~Completely
    different than the proposed form:group-name attribute. ;-)
    
    > I suggest to add something for ID - for compatibility reasons, and maybe
    > it would also be/stay more similar to HTML.
    
    The problem is, compatibility with *what*?  This is a classic "damned if
    you do, damned if you don't" scenario.
    
    If we introduce something for ID, we "break" scripting, or need to
    require that scripting check for both form:name and the ID attribute
    values (and then what happens if both are provided?  is it sane to have
    two different names for the same object?).
    
    Alternatively, we introduce form:group-name, and break existing apps
    which assume that form:name is the only way that radio buttons are
    grouped.
    
    I have no real preference which way we go, I'm just trying to point out
    that there are disadvantages to either approach.  The advantage to
    form:group-name is that we have code to support it now (and/or code we
    can alter to support it now, take your pick), while I have no idea what
    would need to be done to the OpenOffice.org scripting infrastructure to
    support an ID attribute.
    
    > My concerns with compatibility:
    > 
    > Grouping support shouldn't break in existing applications.
    > Of course you can provide patches like suggested below for different
    > apps, but this doesn't help older apps loading newer documents.
    > And you can't know how many apps/tools out there already rely on the
    > existing mechanism.
    
    True, but there could be any number of features that get added that,
    when used, will cause older apps to mis-treat the file or load it
    erroneously.  For example, what if we add a new spreadsheet function in
    a future version of the spec?  Older apps won't support the function,
    and thus there will be errors when older apps try to load the file.
    
    So yes, this is an issue, but I'm not convinced it should be of primary
    importance.  As far as I'm currently concerned, the real question is
    "which do we want to break, scripting or grouping?"
    
    > I must admit that my suggestion is mainly based on technical/practical
    > considerations.
    
    My suggestion is based on talks on dev@dba.openoffice.org, which
    suggested adding the form:group-name attribute. :-)
    
    Introducing an equivalent for ID wasn't even mentioned, though there
    were only 2-3 people involved on that thread, iirc...
    
    > >From an aesthetic point of view I would more like the group-name ;)
    > 
    > Malte.
    > 
    > 
    > PS: I think we all agree that this is not an Accessibility issue, so the
    > main ODF list is probably the better place to discuss this...
    
    Yes, but it's the accessibility list which nixed the form:group-name
    proposal when it was originally introduced. :-)
    
    So I figure if we can get the accessibility list to approve, it will
    actually have a chance of passing.
    
     - Jon
    
    
    


  • 14.  Re: [office-accessibility] radio buttons wrap-up

    Posted 12-04-2008 09:37
    Hi Jonathan,
    
    thanks for looking at this so quickly :)
    
    BTW - before I start:
    We talk about ODF here, so please avoid phrases like "You can say
    that you are like HTML, but you're not".
    This sounds like "you/ODF is this way, but we/OOXML would like...".
    
    Anyway...
    
    In the end we both agree, it must be possible to have different
    identifiers for defining the group and for accessing the individual element.
    
    So we might introduce an additional attribute for the group, or for the ID.
    
    You would like to add something for group, because it's more like in OOXML.
    
    I suggest to add something for ID - for compatibility reasons, and maybe
    it would also be/stay more similar to HTML.
    
    My concerns with compatibility:
    
    Grouping support shouldn't break in existing applications.
    Of course you can provide patches like suggested below for different
    apps, but this doesn't help older apps loading newer documents.
    And you can't know how many apps/tools out there already rely on the
    existing mechanism.
    
    I must admit that my suggestion is mainly based on technical/practical
    considerations.
    
    From an aesthetic point of view I would more like the group-name ;)
    
    Malte.
    
    
    PS: I think we all agree that this is not an Accessibility issue, so the
    main ODF list is probably the better place to discuss this...
    
    
    Jonathan Pryor wrote, On 12/ 4/08 06:23 AM:
    > And to step in a little here...
    > 
    > On Wed, 2008-12-03 at 19:29 +0100, Malte Timmermann wrote:
    >> here is my wrap-up of radio buttons, and the relation to the proposal
    >> for introducing