Issue 71010 - [a11y] OOo doesn't implement the MEMBER_OF relation for radio buttons.
Summary: [a11y] OOo doesn't implement the MEMBER_OF relation for radio buttons.
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.0.4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.4
Assignee: thomas.benisch
QA Contact: issues@framework
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2006-10-30 15:33 UTC by richburridge
Modified: 2008-02-18 10:31 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description richburridge 2006-10-30 15:33:12 UTC
See also Orca bug #364774 which is blocked because of this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=364774

Accessible radio buttons should implement the MEMBER_OF relation
so that you can determine what other radio buttons are in the same
group and how many are in the group in total.
Comment 1 thorsten.martens 2006-12-19 11:08:21 UTC
TM->MRU: Sounds like a writer-issue to me, please have a look, thanks !
Comment 2 michael.ruess 2006-12-19 12:29:18 UTC
Reassigned to ES.
Comment 3 mdxonefour 2007-08-27 11:37:54 UTC
md->obr/mt: Can you please have a look into this and set the issue to the
corresponding ooo developer to fix this.
Comment 4 nospam4obr 2007-08-28 05:57:35 UTC
I believe the relation guessing code is on VCL, but Philipp will know for sure.
Comment 5 philipp.lohmann 2007-08-28 09:07:54 UTC
We don't have any "member of". We have a "labeled by" and "label for"
relationship, but especially for radiobuttons that doesn't cut it since they are
their own labels. To me this is an enhancement request. How do you want to
proceed on that ?
Comment 6 nospam4obr 2007-08-28 12:58:51 UTC
We do have this relation in the UNO Accessibility API, so we need some glue code
in project toolkit and maybe some help from VCL.
Comment 7 thomas.benisch 2007-09-07 16:24:42 UTC
set target to OOo 2.4
Comment 8 thomas.benisch 2007-10-29 17:21:30 UTC
TBE->PL:
Can you please provide a method at the RadioButton, which returns a
list of all radio buttons belonging to the same group, except this
radio button. See RadioButton::ImplUncheckAllOther() for some details.
Comment 9 thomas.benisch 2007-10-30 13:33:37 UTC
TBE->RICHBURRIDGE:
How exactly should the MEMBER_OF relation look like?
The MEMBER_OF relation indicates, that a radio button
is a member of a group of target objects. Let's take a
group of three radio buttons (1,2,3) as an example.
Then the MEMBER_OF relation for button 1 may look like:

a1)  1 -> (1,2,3)

If button 1 is not a member of the target group, then the
relation looks like:

b1)  1 -> (2,3)

Instead of one relation for all members of the target group
one can also build a relation for each member of the target
group:

a2) 1 -> (1)
    1 -> (2)
    1 -> (3)

b2) 1 -> (2)
    1 -> (3)

Which of those alternatives do you prefer?
Comment 10 malte_timmermann 2007-10-30 14:11:26 UTC
a1 - same group for all mambers
Comment 11 thomas.benisch 2007-10-30 14:13:18 UTC
added tbe to cc list
Comment 12 richburridge 2007-10-30 15:17:05 UTC
mt wrote:
> a1 - same group for all mambers

Looks good to me. 
Comment 13 philipp.lohmann 2007-10-30 16:33:31 UTC
pl->tbe: added GetRadioButtonGroup on RadioButton
Comment 14 thomas.benisch 2007-10-31 12:58:39 UTC
accepted
Comment 15 thomas.benisch 2007-10-31 13:01:02 UTC
fixed on CWS tbe32

The following files are affected:

vcl/inc/vcl/button.hxx
vcl/source/control/button.cxx

accessibility/source/standard/vclxaccessibleradiobutton.cxx
Comment 16 thomas.benisch 2007-12-04 15:03:02 UTC
tested with Java Monkey
Comment 17 thomas.benisch 2007-12-06 15:57:41 UTC
verified in CWS tbe32
Comment 18 thomas.benisch 2008-02-18 10:31:44 UTC
Verified again on OOH680m7 and SRC680m245.