Bug: Set focus on radio-button

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug: Set focus on radio-button

richhl
I have started a new thread because this question has been started by Nikola Radic inside one thread with another subject.
http://www.ow2.org/wws/arc/ops-users/2008-01/msg00134.html

Do you, Orbeon developers, identify this as a bug?

We need it solved, if it is a bug, do you plan to solve it soon? can we help? how?

thx in advance.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

Erik Bruchez
Administrator
Hi,

Yes it is a bug. It is very easy to fix it partially by doing a  
focus() on the first radio button part of the select1.

However, what you you expect to happen if, say, the second radio  
button is already selected and you focus on the select1? Should that  
selected radio button receive the focus, or should the first radio  
button part of the select1 receive the focus? What would the best  
behavior be?

I entered a bug to track this:

   http://forge.objectweb.org/tracker/index.php?func=detail&aid=308240&group_id=168&atid=350207

-Erik

On Jan 11, 2008, at 3:49 PM, Richard C. Hidalgo Lorite wrote:

> I have started a new thread because this question has been started  
> by Nikola Radic inside one thread with another subject.
> http://www.ow2.org/wws/arc/ops-users/2008-01/msg00134.html
>
> Do you, Orbeon developers, identify this as a bug?
>
> We need it solved, if it is a bug, do you plan to solve it soon? can  
> we help? how?
>
> thx in advance.
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

richhl
> Hi,

>
> Yes it is a bug. It is very easy to fix it partially by doing a  
> focus() on the first radio button part of the select1.
>
> However, what you you expect to happen if, say, the second radio  
> button is already selected and you focus on the select1? Should that  
> selected radio button receive the focus, or should the first radio  
> button part of the select1 receive the focus? What would the best  
> behavior be?
>
Well I think the expected behaviour should be to have the focus on selected radio button unless there is no value selected. In this case, the first radio should have the focus.

what do you think?

> I entered a bug to track this:
>
>    http://forge.objectweb.org/tracker/index.php?func=detail&aid=308240&group_id=168&atid=350207
>

do you plan to solve it soon? do you want to give us some advice to try to solve it if your going to take a time to close it?

thx in advance.

rich


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

Alessandro Vernet
Administrator
On Jan 14, 2008 6:11 AM, Richard C. Hidalgo Lorite <[hidden email]> wrote:
> Well I think the expected behaviour should be to have the focus on selected radio button unless there is no value selected. In this case, the first radio should have the focus.
>
> what do you think?

We had similar code for check boxes, which was always selecting the
first check box, so for consistency I implemented this by always
selecting the first radio button. Should this be done differently and
if you think it should, why?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

richhl
On Mon, 14 Jan 2008 18:35:56 -0800
"Alessandro Vernet" <[hidden email]> wrote:

> On Jan 14, 2008 6:11 AM, Richard C. Hidalgo Lorite <[hidden email]> wrote:
> > Well I think the expected behaviour should be to have the focus on selected radio button unless there is no value selected. In this case, the first radio should have the focus.
> >
> > what do you think?
>
> We had similar code for check boxes, which was always selecting the
> first check box,

I guess you mean focusing not selecting, isn't it?

> so for consistency I implemented this by always
> selecting the first radio button. Should this be done differently and
> if you think it should, why?

Well, i'm not really sure about best solution, we can discuss. I think the solution of focusing on currently selected value improves the user experience. Going to develop it...imagine for example a user is interacting with a set of rows of select1[appearance="full"] using keys.

When entering any select1 we are not sure what he or she is going to do, I can imagine two use cases:

-He or she has entered the select in order to traverse sequencially the list of selects. Then is better to have the focus in the selected value in order to allow fast traversing to next select1 row (if you have the focus in item1 of select1, one needs to touch tab two times, one to reach selected value and one to leave current select1 row).
-He or she has entered the select in order to change the value. Because we can't guess what would be the change, any position for the focus is indiferent.

It leads me to understand that this solution is better than always focusing in first select1 item.

what do u think?

rich


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

Alessandro Vernet
Administrator
Richard,

On Jan 15, 2008 4:54 AM, Richard C. Hidalgo Lorite <[hidden email]> wrote:
> > We had similar code for check boxes, which was always selecting the
> > first check box,
>
> I guess you mean focusing not selecting, isn't it?

Right :).

> Well, i'm not really sure about best solution, we can discuss. I think the solution of focusing on currently selected value improves the user experience. Going to develop it...imagine for example a user is interacting with a set of rows of select1[appearance="full"] using keys.
>
> When entering any select1 we are not sure what he or she is going to do, I can imagine two use cases:
>
> -He or she has entered the select in order to traverse sequencially the list of selects. Then is better to have the focus in the selected value in order to allow fast traversing to next select1 row (if you have the focus in item1 of select1, one needs to touch tab two times, one to reach selected value and one to leave current select1 row).
> -He or she has entered the select in order to change the value. Because we can't guess what would be the change, any position for the focus is indiferent.
>
> It leads me to understand that this solution is better than always focusing in first select1 item.

You convinced me :). What about the select appearance full? I think
the current behavior (focus on first checkbox) makes more sense for
checkboxes than radio buttons. But should we also set the focus on the
first selected checkbox (if there is one, otherwise first) to be
consistent with what we want to do for radio buttons?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

richhl
>
> You convinced me :). What about the select appearance full? I think

what a persuasive person would I be if I try ;-)

> the current behavior (focus on first checkbox) makes more sense for
> checkboxes than radio buttons. But should we also set the focus on the
> first selected checkbox (if there is one, otherwise first) to be
> consistent with what we want to do for radio buttons?
>
> Alex

Yes I think so, you can apply same arguments that I've writen for select1

regards,

rich


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Set focus on radio-button

Alessandro Vernet
Administrator
Richard,

On Jan 18, 2008 10:52 AM, Richard C. Hidalgo Lorite <[hidden email]> wrote:
> Yes I think so, you can apply same arguments that I've writen for select1

Alright then. This is now implemented as you suggested (focus set on
first checked radio button or check box). Here the RFE for reference:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=308308&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws