OASIS Open Document Format for Office Applications (OpenDocument) TC

Expand all | Collapse all

Proposal for Radio Button grouping

Richard Schwerdtfeger

Richard Schwerdtfeger08-05-2008 14:36

Richard Schwerdtfeger

Richard Schwerdtfeger08-05-2008 14:36

  • 1.  Proposal for Radio Button grouping

    Posted 08-04-2008 15:28
    As you probably know, ODF currently defines the exclusive selection 
    semantics of radio controls based on radio controls with the same name, 
    similar to how this is done in HTML:
    
    ODF 1.1, section 11.3.14:    "The 


  • 2.  Re: [office] Proposal for Radio Button grouping

    Posted 08-04-2008 17:17
    
    
    
    
    Robert:

    This look good but I would like to add that we should provide directives for implementers wherever possible.  I would like to see something added to it like this:

    “In cases where conflicting radio groupings are declared, the <newer one??> MUST take precedence”

    To remove ambiguity.  Likewise, it might be good to make a declaration of how implementers should treat default selections to also avoid ambiguity.  
    Thoughts:

    1. In cases where no radio button is defined initially, it does not seem to be a bad event unless the user skips over the radio group and tries to submit the form when one selection is required.  Leaving all as un-selected seems fine.  I think this is in alignment with the HTML “initially-selected” behavior which is optional.
    2. When the user tries to submit a form and has not selected a radio button flagged mandatory to the forms submission, the user should be given this error and prompted what to do.

    Questions:

    Is this behavior that belongs in the specification?  Since it spans logic that must be written by both the implementer and subsequently by the designers of forms, does it make sense to define that all radio button groups are mandatory (example – users must make one selection) by default?  If so, defining an initially selected item by default might raise too many errors in real world use.  If users skip or miss the radio group buttons, they probably do not want a form automatically making assumptions.  OTOH, if form designers are given a mechanism to state “this one is initially selected” it probably makes sense.

    Thoughts?

    Duane


    On 04/08/08 8:29 AM, "robert_weir@us.ibm.com" <robert_weir@us.ibm.com> wrote:

    As you probably know, ODF currently defines the exclusive selection
    semantics of radio controls based on radio controls with the same name,
    similar to how this is done in HTML:

    ODF 1.1, section 11.3.14:    "The <form:radio> element describes controls
    which act like check boxes except that when several radio buttons share
    the same control name they are mutually exclusive. When one button is on,
    all of the other buttons with the same name are off. If no radio button is
    initially on, the way in which the application chooses which button to
    turn on initially is undefined."

    On today's ODF TC call the following ODF 1.2 proposal was discussed:  
    http://wiki.oasis-open.org/office/Grouping_for_Radio_Elements

    This proposal would add a form:group-name attribute to the form:radio
    element in section 11.3.14, as an alternative way to specify grouped radio
    buttons.  It is not stated how to resolve situations where both grouping
    methods are in simultaneous, possibly contradictory use.

    The Proposer has requested a vote on this proposal for next Monday.  If
    the Accessibility SC has any comments, please send them to the TC by
    Friday.

    Thanks,

    -Rob


    ---------------------------------------------------------------------
    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



    --
    **********************************************************************
    Senior Technical Evangelist - Adobe Systems, Inc.
    Duane's World TV Show - http://www.duanesworldtv.org/
    Blog - http://technoracle.blogspot.com
    Community Music - http://www.mix2r.com
    My Band - http://www.myspace.com/22ndcentury
    Adobe MAX 2008 - http://technoracle.blogspot.com/2007/08/adobe-max-2008.html
    **********************************************************************


  • 3.  Re: [office] Proposal for Radio Button grouping

    Posted 08-04-2008 17:53
    Hi

    I am not sure that it is necessary to define behaviours regarding default selections (or non-selections) in the standard.  To the best of my knowledge such behaviours will have been indicated in the underlying xforms declaration of the form.

    In general, I am a bit uneasy about having two ways of specifying grouping - the name and the group-name.  It also strikes me that there are two ways to think about grouping these radio buttons:

    (1) a logical grouping, which essentially say that all the buttons are actually representing different possible values of a single named entity.  In which case the current arrangement seems adequate and has the benefit of familiarity with the HTML way.
    (2) some sort of presentation layer grouping which would be more akin to the fieldset Rob referred to on the call. 

    Whereas the former is covered IMO, perhaps there is some deficiency in the latter which Florian is sensing.

    Regards
    Bob

    2008/8/4 Duane Nickull <dnickull@adobe.com>
    Robert:

    This look good but I would like to add that we should provide directives for implementers wherever possible.  I would like to see something added to it like this:

    "In cases where conflicting radio groupings are declared, the <newer one??> MUST take precedence"

    To remove ambiguity.  Likewise, it might be good to make a declaration of how implementers should treat default selections to also avoid ambiguity.  
    Thoughts:

    1. In cases where no radio button is defined initially, it does not seem to be a bad event unless the user skips over the radio group and tries to submit the form when one selection is required.  Leaving all as un-selected seems fine.  I think this is in alignment with the HTML "initially-selected" behavior which is optional.
    2. When the user tries to submit a form and has not selected a radio button flagged mandatory to the forms submission, the user should be given this error and prompted what to do.

    Questions:

    Is this behavior that belongs in the specification?  Since it spans logic that must be written by both the implementer and subsequently by the designers of forms, does it make sense to define that all radio button groups are mandatory (example – users must make one selection) by default?  If so, defining an initially selected item by default might raise too many errors in real world use.  If users skip or miss the radio group buttons, they probably do not want a form automatically making assumptions.  OTOH, if form designers are given a mechanism to state "this one is initially selected" it probably makes sense.

    Thoughts?

    Duane



    On 04/08/08 8:29 AM, "robert_weir@us.ibm.com" target="_blank">robert_weir@us.ibm.com" <robert_weir@us.ibm.com" target="_blank">robert_weir@us.ibm.com> wrote:

    As you probably know, ODF currently defines the exclusive selection
    semantics of radio controls based on radio controls with the same name,
    similar to how this is done in HTML:

    ODF 1.1, section 11.3.14:    "The <form:radio> element describes controls
    which act like check boxes except that when several radio buttons share
    the same control name they are mutually exclusive. When one button is on,
    all of the other buttons with the same name are off. If no radio button is
    initially on, the way in which the application chooses which button to
    turn on initially is undefined."

    On today's ODF TC call the following ODF 1.2 proposal was discussed:  
    http://wiki.oasis-open.org/office/Grouping_for_Radio_Elements

    This proposal would add a form:group-name attribute to the form:radio
    element in section 11.3.14, as an alternative way to specify grouped radio
    buttons.  It is not stated how to resolve situations where both grouping
    methods are in simultaneous, possibly contradictory use.

    The Proposer has requested a vote on this proposal for next Monday.  If
    the Accessibility SC has any comments, please send them to the TC by
    Friday.

    Thanks,

    -Rob


    ---------------------------------------------------------------------
    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



    --
    **********************************************************************
    Senior Technical Evangelist - Adobe Systems, Inc.
    Duane's World TV Show - http://www.duanesworldtv.org/
    Blog - http://technoracle.blogspot.com
    Community Music - http://www.mix2r.com
    My Band - http://www.myspace.com/22ndcentury
    Adobe MAX 2008 - http://technoracle.blogspot.com/2007/08/adobe-max-2008.html
    **********************************************************************



  • 4.  Re: [office] Proposal for Radio Button grouping

    Posted 08-04-2008 21:04
    
    
    
    
    I feel your uneasiness is justified given there is no statement on how to account for conflicts of logic.  I recently submitted a similar item to the W3C Schema working group to help those who build validating parsers.  The issue was similar with conflicting logic declared in two areas and no clear scope or priority resolution in the spec.

    Their’s was:

     <xs:element name="PickOneButNotBoth">
        <xs:choice>
           <xs:element name=”bar” minOccurs="1" />
           <xs:element name=”bam” minOccurs="1" />
           <!--   D’oh!!!!! -->
        </xs:choice>
    ...

    In cases like this, I prefer to have a consistent model for scoping of priority.  The CSS/XML Namespace model is to scope to the inner most declaration if there are conflicting logic blocks.  

    Do you think a global statement of this nature would solve your uneasiness.

    Duane  



    On 04/08/08 10:52 AM, "Bob Jolliffe" <bobjolliffe@gmail.com> wrote:

    Hi

    I am not sure that it is necessary to define behaviours regarding default selections (or non-selections) in the standard.  To the best of my knowledge such behaviours will have been indicated in the underlying xforms declaration of the form.

    In general, I am a bit uneasy about having two ways of specifying grouping - the name and the group-name.  It also strikes me that there are two ways to think about grouping these radio buttons:

    (1) a logical grouping, which essentially say that all the buttons are actually representing different possible values of a single named entity.  In which case the current arrangement seems adequate and has the benefit of familiarity with the HTML way.
    (2) some sort of presentation layer grouping which would be more akin to the fieldset Rob referred to on the call.  

    Whereas the former is covered IMO, perhaps there is some deficiency in the latter which Florian is sensing.

    Regards
    Bob

    2008/8/4 Duane Nickull <dnickull@adobe.com>
    Robert:

    This look good but I would like to add that we should provide directives for implementers wherever possible.  I would like to see something added to it like this:

    "In cases where conflicting radio groupings are declared, the <newer one??> MUST take precedence"

    To remove ambiguity.  Likewise, it might be good to make a declaration of how implementers should treat default selections to also avoid ambiguity.  
    Thoughts:

    1. In cases where no radio button is defined initially, it does not seem to be a bad event unless the user skips over the radio group and tries to submit the form when one selection is required.  Leaving all as un-selected seems fine.  I think this is in alignment with the HTML "initially-selected" behavior which is optional.
    2. When the user tries to submit a form and has not selected a radio button flagged mandatory to the forms submission, the user should be given this error and prompted what to do.

    Questions:

    Is this behavior that belongs in the specification?  Since it spans logic that must be written by both the implementer and subsequently by the designers of forms, does it make sense to define that all radio button groups are mandatory (example – users must make one selection) by default?  If so, defining an initially selected item by default might raise too many errors in real world use.  If users skip or miss the radio group buttons, they probably do not want a form automatically making assumptions.  OTOH, if form designers are given a mechanism to state "this one is initially selected" it probably makes sense.

    Thoughts?

    Duane



    On 04/08/08 8:29 AM, "robert_weir@us.ibm.com <robert_weir@us.ibm.com">http://robert_weir@us.ibm.com> " <robert_weir@us.ibm.com <robert_weir@us.ibm.com">http://robert_weir@us.ibm.com> > wrote:

    As you probably know, ODF currently defines the exclusive selection
    semantics of radio controls based on radio controls with the same name,
    similar to how this is done in HTML:

    ODF 1.1, section 11.3.14:    "The <form:radio> element describes controls
    which act like check boxes except that when several radio buttons share
    the same control name they are mutually exclusive. When one button is on,
    all of the other buttons with the same name are off. If no radio button is
    initially on, the way in which the application chooses which button to
    turn on initially is undefined."

    On today's ODF TC call the following ODF 1.2 proposal was discussed:  
    http://wiki.oasis-open.org/office/Grouping_for_Radio_Elements

    This proposal would add a form:group-name attribute to the form:radio
    element in section 11.3.14, as an alternative way to specify grouped radio
    buttons.  It is not stated how to resolve situations where both grouping
    methods are in simultaneous, possibly contradictory use.

    The Proposer has requested a vote on this proposal for next Monday.  If
    the Accessibility SC has any comments, please send them to the TC by
    Friday.

    Thanks,

    -Rob


    ---------------------------------------------------------------------
    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



    --
    **********************************************************************
    Senior Technical Evangelist - Adobe Systems, Inc.
    Duane's World TV Show - http://www.duanesworldtv.org/
    Blog - http://technoracle.blogspot.com
    Community Music - http://www.mix2r.com
    My Band - http://www.myspace.com/22ndcentury
    Adobe MAX 2008 - http://technoracle.blogspot.com/2007/08/adobe-max-2008.html
    **********************************************************************


  • 5.  Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 14:36
      |   view attached



  • 6.  Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 14:36



  • 7.  Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 16:24
    Thinking some more about grouping, I still don't see thast there is any need to have a group-name for radio buttons.  They are already logically grouped by the name.  I imagine a screenreader, for example, would treat the set in the same way as a select control and read "select w,x,y or z" for the named radio buttons.

    Checkboxes (and other controls) on the other hand may indeed benefit from grouping in order to render the semantics of  "select all of the following which apply".  Perhaps this grouping could be reasonably achieved through a <form:frame> element which already does support <form:name>, <form:label> and <form:title> attributes.  As a recommendation one could then specify that all input controls which form a coherent group should be contained within a <form:frame> with a name/label/title which could be exposed to the accessibility API (regardless of whether this frame is a visible element or not).  This seems to be the closest equivalent of a html frameset.

    Alternatively these, and perhaps all, elements should have a form:group-name attribute, but I prefer the approach above.

    Regards
    Bob

    2008/8/5 Richard Schwerdtfeger <schwer@us.ibm.com>

    Rob,

    We will need to ensure there is a name we can expose to the accessibility API. Is form:group-name or name="string" the name of the group that will be rendered? If not we will need to add <svg:title> somewhere in there for the short name.

    Rich


    Rich Schwerdtfeger
    Distinguished Engineer, SWG Accessibility Architect/Strategist
    Chair, IBM Accessibility Architecture Review Board
    blog: http://www.ibm.com/developerworks/blogs/page/schwer
    Robert Weir/Cambridge/IBM@Lotus


            Robert Weir/Cambridge/IBM@Lotus

            08/04/08 10:29 AM


    To

    office-accessibility@lists.oasis-open.org

    cc

    office@lists.oasis-open.org

    Subject

    [office] Proposal for Radio Button grouping

    As you probably know, ODF currently defines the exclusive selection
    semantics of radio controls based on radio controls with the same name,
    similar to how this is done in HTML:

    ODF 1.1, section 11.3.14:    "The <form:radio> element describes controls
    which act like check boxes except that when several radio buttons share
    the same control name they are mutually exclusive. When one button is on,
    all of the other buttons with the same name are off. If no radio button is
    initially on, the way in which the application chooses which button to
    turn on initially is undefined."

    On today's ODF TC call the following ODF 1.2 proposal was discussed:  
    http://wiki.oasis-open.org/office/Grouping_for_Radio_Elements

    This proposal would add a form:group-name attribute to the form:radio
    element in section 11.3.14, as an alternative way to specify grouped radio
    buttons.  It is not stated how to resolve situations where both grouping
    methods are in simultaneous, possibly contradictory use.

    The Proposer has requested a vote on this proposal for next Monday.  If
    the Accessibility SC has any comments, please send them to the TC by
    Friday.

    Thanks,

    -Rob


    ---------------------------------------------------------------------
    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] Proposal for Radio Button grouping

    Posted 08-05-2008 17:29
    +1.
    
    I also didn't understand the need for group names when the existing name
    can do the same. The name even doesn't have to be anything reasonable,
    since it's IMHO internally used only, nothing the user or AT must
    see/read. (A sighted user also won't see it when just using the form).
    
    If the user should see anything, it's then up to the author to provide a
    group box or something else, which then can have a name and description.
    
    Which leads me to the question: Very often you don't have group boxes
    anymore, but simply a label, maybe with some line.
    
    How can I specify that the label belongs to the group?
    
    Make the XML elements children of that element?
    
    Malte.
    
    Bob Jolliffe wrote, On 05.08.08 18:24:
    > Thinking some more about grouping, I still don't see thast there is any
    > need to have a group-name for radio buttons.  They are already logically
    > grouped by the name.  I imagine a screenreader, for example, would treat
    > the set in the same way as a select control and read "select w,x,y or z"
    > for the named radio buttons.
    > 
    > Checkboxes (and other controls) on the other hand may indeed benefit
    > from grouping in order to render the semantics of  "select all of the
    > following which apply".  Perhaps this grouping could be reasonably
    > achieved through a 


  • 9.  Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 18:02
    Backing up a little bit. 
    
    This feature proposal came up on Monday's call:   
    http://wiki.oasis-open.org/office/Grouping_for_Radio_Elements
    
    Since the proposer claimed that it had an accessibility impact: "Grouping 
    adds additional structure and helps accessibility" I wanted to evaluate 
    this specific claim.  In particular, I was not aware that we had a 
    accessibility defect with the way radio buttons are defined in ODF 1.1. 
    
    Do we?
    
    The proposer also claims "Currently ODF provides not way to group radio 
    buttons. The new attribute will add grouping support. "
    
    If grouping means "to associate the radio buttons into a group of 
    mutually-exclusive controls" then I think we already have grouping support 
    in ODF 1.1, via the common name mechanism borrowed from HTML.  If the 
    proposer is intending some other grouping semantics, then this needs 
    clarification.
    
    As Duane points out, the issue of contradicting group definitions could be 
    resolved by defining a resolution mechanism.  But before we go down that 
    road, I'd like to see whether this new way of defining radio button groups 
    in fact adds any expressivity to ODF, or is it merely an equivalent method 
    of defining groups.  I'm not a big fan of adding features twice.  It is 
    hard enough adding them once.
    
    So my questions are:
    
    1) Do we have a problem with radio button accessibility in ODF 1.1? 
    2) If so, does this proposal address that problem?
    3) If not, is this proposal allow implementations to express something 
    that cannot already be expressed by the existing grouping mechanism?
    4) If so, what new does it allow implementations to express?
    
    -Rob
    
    Malte.Timmermann@Sun.COM wrote on 08/05/2008 01:28:12 PM:
    
    > I also didn't understand the need for group names when the existing name
    > can do the same. The name even doesn't have to be anything reasonable,
    > since it's IMHO internally used only, nothing the user or AT must
    > see/read. (A sighted user also won't see it when just using the form).
    > 
    > If the user should see anything, it's then up to the author to provide a
    > group box or something else, which then can have a name and description.
    > 
    > Which leads me to the question: Very often you don't have group boxes
    > anymore, but simply a label, maybe with some line.
    > 
    > How can I specify that the label belongs to the group?
    > 
    > Make the XML elements children of that element?
    > 
    > Malte.
    > 
    > Bob Jolliffe wrote, On 05.08.08 18:24:
    > > Thinking some more about grouping, I still don't see thast there is 
    any
    > > need to have a group-name for radio buttons.  They are already 
    logically
    > > grouped by the name.  I imagine a screenreader, for example, would 
    treat
    > > the set in the same way as a select control and read "select w,x,y or 
    z"
    > > for the named radio buttons.
    > > 
    > > Checkboxes (and other controls) on the other hand may indeed benefit
    > > from grouping in order to render the semantics of  "select all of the
    > > following which apply".  Perhaps this grouping could be reasonably
    > > achieved through a 


  • 10.  Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 20:25



  • 11.  Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 20:25



  • 12.  Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 18:02
    Backing up a little bit. 
    
    This feature proposal came up on Monday's call:   
    http://wiki.oasis-open.org/office/Grouping_for_Radio_Elements
    
    Since the proposer claimed that it had an accessibility impact: "Grouping 
    adds additional structure and helps accessibility" I wanted to evaluate 
    this specific claim.  In particular, I was not aware that we had a 
    accessibility defect with the way radio buttons are defined in ODF 1.1. 
    
    Do we?
    
    The proposer also claims "Currently ODF provides not way to group radio 
    buttons. The new attribute will add grouping support. "
    
    If grouping means "to associate the radio buttons into a group of 
    mutually-exclusive controls" then I think we already have grouping support 
    in ODF 1.1, via the common name mechanism borrowed from HTML.  If the 
    proposer is intending some other grouping semantics, then this needs 
    clarification.
    
    As Duane points out, the issue of contradicting group definitions could be 
    resolved by defining a resolution mechanism.  But before we go down that 
    road, I'd like to see whether this new way of defining radio button groups 
    in fact adds any expressivity to ODF, or is it merely an equivalent method 
    of defining groups.  I'm not a big fan of adding features twice.  It is 
    hard enough adding them once.
    
    So my questions are:
    
    1) Do we have a problem with radio button accessibility in ODF 1.1? 
    2) If so, does this proposal address that problem?
    3) If not, is this proposal allow implementations to express something 
    that cannot already be expressed by the existing grouping mechanism?
    4) If so, what new does it allow implementations to express?
    
    -Rob
    
    Malte.Timmermann@Sun.COM wrote on 08/05/2008 01:28:12 PM:
    
    > I also didn't understand the need for group names when the existing name
    > can do the same. The name even doesn't have to be anything reasonable,
    > since it's IMHO internally used only, nothing the user or AT must
    > see/read. (A sighted user also won't see it when just using the form).
    > 
    > If the user should see anything, it's then up to the author to provide a
    > group box or something else, which then can have a name and description.
    > 
    > Which leads me to the question: Very often you don't have group boxes
    > anymore, but simply a label, maybe with some line.
    > 
    > How can I specify that the label belongs to the group?
    > 
    > Make the XML elements children of that element?
    > 
    > Malte.
    > 
    > Bob Jolliffe wrote, On 05.08.08 18:24:
    > > Thinking some more about grouping, I still don't see thast there is 
    any
    > > need to have a group-name for radio buttons.  They are already 
    logically
    > > grouped by the name.  I imagine a screenreader, for example, would 
    treat
    > > the set in the same way as a select control and read "select w,x,y or 
    z"
    > > for the named radio buttons.
    > > 
    > > Checkboxes (and other controls) on the other hand may indeed benefit
    > > from grouping in order to render the semantics of  "select all of the
    > > following which apply".  Perhaps this grouping could be reasonably
    > > achieved through a 


  • 13.  Re: [office] Proposal for Radio Button grouping

    Posted 08-06-2008 08:07
    Malte Timmermann wrote:
    > +1.
    > 
    > I also didn't understand the need for group names when the existing name
    > can do the same. The name even doesn't have to be anything reasonable,
    > since it's IMHO internally used only, nothing the user or AT must
    > see/read. (A sighted user also won't see it when just using the form).
    > 
    > If the user should see anything, it's then up to the author to provide a
    > group box or something else, which then can have a name and description.
    
    The ODF control for this is 


  • 14.  Re: [office] Proposal for Radio Button grouping

    Posted 08-06-2008 08:07
    Malte Timmermann wrote:
    > +1.
    > 
    > I also didn't understand the need for group names when the existing name
    > can do the same. The name even doesn't have to be anything reasonable,
    > since it's IMHO internally used only, nothing the user or AT must
    > see/read. (A sighted user also won't see it when just using the form).
    > 
    > If the user should see anything, it's then up to the author to provide a
    > group box or something else, which then can have a name and description.
    
    The ODF control for this is 


  • 15.  Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-08-2008 02:48

    I created a Writer file in Symphony.   I used the wizard to create it, e.g. I did a drag and drop on the group box item in the form tool bar.  After that I turned off design mode.  The ODF structure looks like this:

    <office:body>
    <office:text>
    <office:forms>
    <form:form>
      <form:frame form:name="GroupBox" form:id="control1" form:label="My Colors" form:for="control2,control3,control4" />
    <form:radio form:name="RadioGroup1" form:id="control2" form:label="red" form:value="1">
      </form:radio>
    <form:radio form:name="RadioGroup1" form:id="control3" form:label="blue" form:value="2">
      </form:radio>
    <form:radio form:name="RadioGroup1" form:id="control4" form:label="green" form:value="3">
      </form:radio>
      </form:form>
      </office:forms>
    <text:p>
    <draw:g text:anchor-type="as-char" draw:name="group object1" >
      <draw:control draw:control="control1" />
      <draw:control draw:control="control2" />
      <draw:control draw:control="control3" />
      <draw:control draw:control="control4" />
      </draw:g>
      </text:p>
      </office:text>
      </office:body>

    The a11y structure looks like this:
        DOCUMENT
        PARAGRAPH
        SHAPE
        GROUPING (name: My Colors), RADIOBUTTON (name: red), RADIOBUTTON (name: blue), RADIOBUTTON (name: green)

    Each radio button has a "memberOf" realtion with the GROUPING object

    Pete Brunet
                                                                             

    IBM Accessibility Architecture and Development
    11501 Burnet Road, MS 9022E004, Austin, TX 78758
    Voice: (512) 838-4594, Cell: (512) 689-4155
    Ionosphere: WS4G



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

    08/06/2008 03:05 AM

    To
    Malte Timmermann <Malte.Timmermann@Sun.COM>
    cc
    Bob Jolliffe <bobjolliffe@gmail.com>, office@lists.oasis-open.org, office-accessibility@lists.oasis-open.org, Richard Schwerdtfeger/Austin/IBM@IBMUS
    Subject
    [office-accessibility] Re: [office] Proposal for Radio Button grouping





    Malte Timmermann wrote:
    > +1.
    >
    > I also didn't understand the need for group names when the existing name
    > can do the same. The name even doesn't have to be anything reasonable,
    > since it's IMHO internally used only, nothing the user or AT must
    > see/read. (A sighted user also won't see it when just using the form).
    >
    > If the user should see anything, it's then up to the author to provide a
    > group box or something else, which then can have a name and description.

    The ODF control for this is <form:frame>.
    >
    > Which leads me to the question: Very often you don't have group boxes
    > anymore, but simply a label, maybe with some line.
    >
    > How can I specify that the label belongs to the group?

    The label would be  a <form:fixed-text> element. It has an (optional)
    attribute "form:for" which contains the ID of a control for which the
    text is a label.

    The same attribute is actually existing for the <form:frame> element
    which defines a group box. Her, it can be used to spacify that the group
     box is the label for a set of radio buttons.

    Michael
    --
    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

    ---------------------------------------------------------------------
    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




  • 16.  Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-08-2008 02:48

    I created a Writer file in Symphony.   I used the wizard to create it, e.g. I did a drag and drop on the group box item in the form tool bar.  After that I turned off design mode.  The ODF structure looks like this:

    <office:body>
    <office:text>
    <office:forms>
    <form:form>
      <form:frame form:name="GroupBox" form:id="control1" form:label="My Colors" form:for="control2,control3,control4" />
    <form:radio form:name="RadioGroup1" form:id="control2" form:label="red" form:value="1">
      </form:radio>
    <form:radio form:name="RadioGroup1" form:id="control3" form:label="blue" form:value="2">
      </form:radio>
    <form:radio form:name="RadioGroup1" form:id="control4" form:label="green" form:value="3">
      </form:radio>
      </form:form>
      </office:forms>
    <text:p>
    <draw:g text:anchor-type="as-char" draw:name="group object1" >
      <draw:control draw:control="control1" />
      <draw:control draw:control="control2" />
      <draw:control draw:control="control3" />
      <draw:control draw:control="control4" />
      </draw:g>
      </text:p>
      </office:text>
      </office:body>

    The a11y structure looks like this:
        DOCUMENT
        PARAGRAPH
        SHAPE
        GROUPING (name: My Colors), RADIOBUTTON (name: red), RADIOBUTTON (name: blue), RADIOBUTTON (name: green)

    Each radio button has a "memberOf" realtion with the GROUPING object

    Pete Brunet
                                                                             

    IBM Accessibility Architecture and Development
    11501 Burnet Road, MS 9022E004, Austin, TX 78758
    Voice: (512) 838-4594, Cell: (512) 689-4155
    Ionosphere: WS4G



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

    08/06/2008 03:05 AM

    To
    Malte Timmermann <Malte.Timmermann@Sun.COM>
    cc
    Bob Jolliffe <bobjolliffe@gmail.com>, office@lists.oasis-open.org, office-accessibility@lists.oasis-open.org, Richard Schwerdtfeger/Austin/IBM@IBMUS
    Subject
    [office-accessibility] Re: [office] Proposal for Radio Button grouping





    Malte Timmermann wrote:
    > +1.
    >
    > I also didn't understand the need for group names when the existing name
    > can do the same. The name even doesn't have to be anything reasonable,
    > since it's IMHO internally used only, nothing the user or AT must
    > see/read. (A sighted user also won't see it when just using the form).
    >
    > If the user should see anything, it's then up to the author to provide a
    > group box or something else, which then can have a name and description.

    The ODF control for this is <form:frame>.
    >
    > Which leads me to the question: Very often you don't have group boxes
    > anymore, but simply a label, maybe with some line.
    >
    > How can I specify that the label belongs to the group?

    The label would be  a <form:fixed-text> element. It has an (optional)
    attribute "form:for" which contains the ID of a control for which the
    text is a label.

    The same attribute is actually existing for the <form:frame> element
    which defines a group box. Her, it can be used to spacify that the group
     box is the label for a set of radio buttons.

    Michael
    --
    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

    ---------------------------------------------------------------------
    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




  • 17.  Re: [office] Re: [office-accessibility] Re: [office] Proposal for Radio Button grouping

    Posted 08-08-2008 05:51
    2008/8/8 Pete Brunet 


  • 18.  Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 17:29
    +1.
    
    I also didn't understand the need for group names when the existing name
    can do the same. The name even doesn't have to be anything reasonable,
    since it's IMHO internally used only, nothing the user or AT must
    see/read. (A sighted user also won't see it when just using the form).
    
    If the user should see anything, it's then up to the author to provide a
    group box or something else, which then can have a name and description.
    
    Which leads me to the question: Very often you don't have group boxes
    anymore, but simply a label, maybe with some line.
    
    How can I specify that the label belongs to the group?
    
    Make the XML elements children of that element?
    
    Malte.
    
    Bob Jolliffe wrote, On 05.08.08 18:24:
    > Thinking some more about grouping, I still don't see thast there is any
    > need to have a group-name for radio buttons.  They are already logically
    > grouped by the name.  I imagine a screenreader, for example, would treat
    > the set in the same way as a select control and read "select w,x,y or z"
    > for the named radio buttons.
    > 
    > Checkboxes (and other controls) on the other hand may indeed benefit
    > from grouping in order to render the semantics of  "select all of the
    > following which apply".  Perhaps this grouping could be reasonably
    > achieved through a 


  • 19.  Re: [office] Proposal for Radio Button grouping

    Posted 08-05-2008 22:20
    2008/8/5 Bob Jolliffe <bobjolliffe@gmail.com>
      This seems to be the closest equivalent of a html frameset.

    oops.  I meant fieldset, not frameset.

    Bob