Re: Label both before and after an editable?

Alexander Surkov <[email protected]> Thu, 5 Apr 2018 14:41:42 -0400
Newsgroups gmane.comp.gnome.accessibility.devel
Message-ID <CA+epNsfzS45Frzd-KDu_d_KfCk7mwmVhscX6uYe8XSNQ96mQnw@mail.gmail.com>
--===============5572919440527793729==
Content-Type: multipart/alternative; boundary="f4f5e80ee2f884798805691e4abb"

--f4f5e80ee2f884798805691e4abb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Isn't it accessible name computation issue? Usually it is author's
responsibility to make a proper label for a control, and thus AT don't need
to know any who's first and who is next.

I have no LibreOffice at hands, so could you think of HTML like example to
demo the issue?

On Mon, Mar 5, 2018 at 9:48 AM, Samuel Thibault <
[email protected]> wrote:

> Hello,
>
> I'm also getting the case of a label after the widget only: in a preview
> dialog box, there is only an editable containing "1" and a label
> containing "/2" after that.
>
> I tried to use flows-to/from, it didn't work, and it looks distorted to
> me anyway.
>
> Perhaps we should introduce RELATION_LABEL_AFTER_FOR,
> RELATION_LABELLED_AFTER_BY?
>
> Samuel
>
> Samuel Thibault, on mar. 27 f=C3=A9vr. 2018 18:34:08 +0100, wrote:
> > We have seen in various places that an editable field has a label both
> > before and after. For instance, in LibreOffice's Tools->Options dialog,
> > in the LibreOffice->General section, there is
> >
> > "Interpret as years between 1930 and 2029"
> >
> > where "Interpret as years between" is a label, "1930" is an editable,
> > and "and 2029" is another label.  Currently in the .ui file the first
> > label is set as mnemonic_widget for the editable, so that orca displays
> > "Interpret as years between 1930", but this is not enough to understand
> > what that is without the last label :)
> >
> > Is there a way to let orca know that there are actually two labels,
> > one before and one after the editable?  I thought perhaps relation
> > flows-to/from in addition to the mnemonic_widget or label-for, but I'm
> > really not sure.
> >
> > The same situation happens in various places where the second label
> > provides the unit, or more precise specifications (e.g. "Distance 0cm
> > between pages" where "0cm" is editable)
> _______________________________________________
> gnome-accessibility-devel mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
>

--f4f5e80ee2f884798805691e4abb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Isn&#39;t it accessible name computation issue? Usual=
ly it is author&#39;s responsibility to make a proper label for a control, =
and thus AT don&#39;t need to know any who&#39;s first and who is next.</di=
v><div><br></div><div> I have no LibreOffice at hands, so could you think o=
f HTML like example to demo the issue?</div></div><div class=3D"gmail_extra=
"><br><div class=3D"gmail_quote">On Mon, Mar 5, 2018 at 9:48 AM, Samuel Thi=
bault <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">Hello,<br>
<br>
I&#39;m also getting the case of a label after the widget only: in a previe=
w<br>
dialog box, there is only an editable containing &quot;1&quot; and a label<=
br>
containing &quot;/2&quot; after that.<br>
<br>
I tried to use flows-to/from, it didn&#39;t work, and it looks distorted to=
<br>
me anyway.<br>
<br>
Perhaps we should introduce RELATION_LABEL_AFTER_FOR,<br>
RELATION_LABELLED_AFTER_BY?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Samuel<br>
</font></span><span class=3D"im HOEnZb"><br>
Samuel Thibault, on mar. 27 f=C3=A9vr. 2018 18:34:08 +0100, wrote:<br>
&gt; We have seen in various places that an editable field has a label both=
<br>
&gt; before and after. For instance, in LibreOffice&#39;s Tools-&gt;Options=
 dialog,<br>
&gt; in the LibreOffice-&gt;General section, there is<br>
&gt;<br>
&gt; &quot;Interpret as years between 1930 and 2029&quot;<br>
&gt;<br>
&gt; where &quot;Interpret as years between&quot; is a label, &quot;1930&qu=
ot; is an editable,<br>
&gt; and &quot;and 2029&quot; is another label.=C2=A0 Currently in the .ui =
file the first<br>
&gt; label is set as mnemonic_widget for the editable, so that orca display=
s<br>
&gt; &quot;Interpret as years between 1930&quot;, but this is not enough to=
 understand<br>
&gt; what that is without the last label :)<br>
&gt;<br>
&gt; Is there a way to let orca know that there are actually two labels,<br=
>
&gt; one before and one after the editable?=C2=A0 I thought perhaps relatio=
n<br>
&gt; flows-to/from in addition to the mnemonic_widget or label-for, but I&#=
39;m<br>
&gt; really not sure.<br>
&gt;<br>
&gt; The same situation happens in various places where the second label<br=
>
&gt; provides the unit, or more precise specifications (e.g. &quot;Distance=
 0cm<br>
&gt; between pages&quot; where &quot;0cm&quot; is editable)<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">____________________________=
__<wbr>_________________<br>
gnome-accessibility-devel mailing list<br>
<a href=3D"mailto:[email protected]">gnome-accessibility-=
devel@<wbr>gnome.org</a><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-accessibility-deve=
l" rel=3D"noreferrer" target=3D"_blank">https://mail.gnome.org/<wbr>mailman=
/listinfo/gnome-<wbr>accessibility-devel</a><br>
</div></div></blockquote></div><br></div>

--f4f5e80ee2f884798805691e4abb--

--===============5572919440527793729==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-accessibility-devel mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

--===============5572919440527793729==--