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

Re: Focus and readonly

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 23 Nov 2016 06:15:06 -0800
Message-ID: <CAAc0PEWBm3bBSLqwo-8zBcUG06gMYgEjGinX5mSd4jOVcAfd+A@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
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

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.


[1] https://doc.orbeon.com/xforms/focus.html

On Wed, Nov 23, 2016 at 2:04 AM, Steven Pemberton <steven.pemberton@cwi.nl>

> 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:15:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:47 UTC