W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Re: Focus and readonly

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 23 Nov 2016 15:19:48 +0100
To: "Erik Bruchez" <ebruchez@orbeon.com>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yrdwrab1smjzpq@steven-aspire-s7>
I agree. Controls in a hidden case are non-relevant as well, by the way.

Steven

On Wed, 23 Nov 2016 15:15:06 +0100, Erik Bruchez <ebruchez@orbeon.com>  
wrote:

> I would say no, as readonly implies making the control disabled in HTML  
> terms. In >our documentation [1], we say:
>
>    Focus can only happen on those controls under the following  
> conditions:
>      - The control is relevant.
>    - The control is not read-only.
>    - The control is not hidden, namely.
>      - It is not in a hidden case.
>      - It is not in a closed dialog.
>
> The "closed dialog" line is redundant as controls in a closed dialog are  
> non-relevant.
>
> The "hidden case" line is redundant as per XForms 1.1 as controls in a  
> hidden case are >non-relevant. But in our implementation, we support  
> hidden cases with relevant controls, >so that can still apply.
>
> -Erik
>
> [1] https://doc.orbeon.com/xforms/focus.html
>
> On Wed, Nov 23, 2016 at 2:04 AM, Steven Pemberton  
> <steven.pemberton@cwi.nl> wrote:
>> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#all-controls-interaction
>>
>> "Any control that is relevant is able to receive the focus."
>>
>> Is a readonly control able to receive focus?
>>
>> Steven
Received on Wednesday, 23 November 2016 14:20:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 23 November 2016 14:20:23 UTC