click is an action, but clicking does not work

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

click is an action, but clicking does not work

sbq
Greetings,
 
This email is about gmail.com, Google's email website.  If you login to
a Gmail account you'll see what looks like a link on the far left, under
the Gmail logo: Compose Mail.  If you click on that link with your mouse
it will switch you into composition mode.
 
Using at-spi accessibility, when we dump the "Compose Mail" node and
it's direct parent (see below), we see that "Compose Mail" is text
inside a <span>, not inside an <a> as expected.  I verified this with
Firebug.  You can also see that at-spi reports that 'click' is an action
on the "Compose Mail" node.  But when we call Accessible_doAction(node,
0) it fails, returning 0.  We are able to successfully perform every
other action we've tried using the at-spi API on that website: bring up
Gmail, enter the user name and password.
 
Does anyone know why at-spi's click action does not work for this node?
Does anyone have a suggested workaround?
 
-Sam
 
 
Dump of at-spi information for:
...
<div class="NIPhib">
     <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
<div>
 
<div class="NIPhib">
 
child 1/1 (n:,d:,r:section) [actions: ] [subs: Component EditableText
Hypertext Text ] (children: 1)
child 1/1   - [states: enabled, horizontal, opaque, sensitive, showing,
visible]
child 1/1   - Text(len: 1): "?[<ef,bf,bc>{fffc}]"
child 1/1   - attr 1/3 formatting:block
child 1/1   - attr 2/3 class:NIPhib
child 1/1   - attr 3/3 tag:DIV
 
    <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
 
    child 1/1 (n:Compose Mail,d:,r:) [actions: click] [subs: Action
Component EditableText Hypertext Text ] (children: 0)
    child 1/1   - [states: enabled, focusable, horizontal, opaque,
sensitive, showing, visible]
    child 1/1   - Text(len: 12): "Compose Mail"
    child 1/1   - attr 1/4 class:zD5BAe
    child 1/1   - attr 2/4 tag:SPAN
    child 1/1   - attr 3/4 xml-roles:link
    child 1/1   - attr 4/4 id::r3

_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: click is an action, but clicking does not work

Alexander Surkov
On Dec 29 2008, 11:38 pm, "Quiring, Sam" <[hidden email]>
wrote:

> Greetings,
>
> This email is about gmail.com, Google's email website.  If you login to
> a Gmail account you'll see what looks like a link on the far left, under
> the Gmail logo: Compose Mail.  If you click on that link with your mouse
> it will switch you into composition mode.
>
> Using at-spi accessibility, when we dump the "Compose Mail" node and
> it's direct parent (see below), we see that "Compose Mail" is text
> inside a <span>, not inside an <a> as expected.  I verified this with
> Firebug.  You can also see that at-spi reports that 'click' is an action
> on the "Compose Mail" node.  But when we call Accessible_doAction(node,
> 0) it fails, returning 0.  We are able to successfully perform every
> other action we've tried using the at-spi API on that website: bring up
> Gmail, enter the user name and password.
>
> Does anyone know why at-spi's click action does not work for this node?
> Does anyone have a suggested workaround?
>
> -Sam
>
> Dump of at-spi information for:
> ...
> <div class="NIPhib">
>      <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
> <div>
>
> <div class="NIPhib">
>
> child 1/1 (n:,d:,r:section) [actions: ] [subs: Component EditableText
> Hypertext Text ] (children: 1)
> child 1/1   - [states: enabled, horizontal, opaque, sensitive, showing,
> visible]
> child 1/1   - Text(len: 1): "?[<ef,bf,bc>{fffc}]"
> child 1/1   - attr 1/3 formatting:block
> child 1/1   - attr 2/3 class:NIPhib
> child 1/1   - attr 3/3 tag:DIV
>
>     <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
>
>     child 1/1 (n:Compose Mail,d:,r:) [actions: click] [subs: Action
> Component EditableText Hypertext Text ] (children: 0)
>     child 1/1   - [states: enabled, focusable, horizontal, opaque,
> sensitive, showing, visible]
>     child 1/1   - Text(len: 12): "Compose Mail"
>     child 1/1   - attr 1/4 class:zD5BAe
>     child 1/1   - attr 2/4 tag:SPAN
>     child 1/1   - attr 3/4 xml-roles:link
>     child 1/1   - attr 4/4 id::r3

What firefox version do you use? We fixed similar bugs recently.

Alex.
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
sbq
Reply | Threaded
Open this post in threaded view
|

RE: click is an action, but clicking does not work

sbq
= What firefox version do you use? We fixed similar bugs recently.

Version 3.0.1
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1

-Sam


-----Original Message-----
From: dev-accessibility-bounces+sam.quiring=[hidden email] [mailto:dev-accessibility-bounces+sam.quiring=[hidden email]] On Behalf Of Alexander Surkov
Sent: Sunday, January 04, 2009 7:30 PM
To: [hidden email]
Subject: Re: click is an action, but clicking does not work

On Dec 29 2008, 11:38 pm, "Quiring, Sam" <[hidden email]>
wrote:

> Greetings,
>
> This email is about gmail.com, Google's email website.  If you login
> to a Gmail account you'll see what looks like a link on the far left,
> under the Gmail logo: Compose Mail.  If you click on that link with
> your mouse it will switch you into composition mode.
>
> Using at-spi accessibility, when we dump the "Compose Mail" node and
> it's direct parent (see below), we see that "Compose Mail" is text
> inside a <span>, not inside an <a> as expected.  I verified this with
> Firebug.  You can also see that at-spi reports that 'click' is an
> action on the "Compose Mail" node.  But when we call
> Accessible_doAction(node,
> 0) it fails, returning 0.  We are able to successfully perform every
> other action we've tried using the at-spi API on that website: bring
> up Gmail, enter the user name and password.
>
> Does anyone know why at-spi's click action does not work for this node?
> Does anyone have a suggested workaround?
>
> -Sam
>
> Dump of at-spi information for:
> ...
> <div class="NIPhib">
>      <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
> <div>
>
> <div class="NIPhib">
>
> child 1/1 (n:,d:,r:section) [actions: ] [subs: Component EditableText
> Hypertext Text ] (children: 1) child 1/1   - [states: enabled,
> horizontal, opaque, sensitive, showing, visible] child 1/1   -
> Text(len: 1): "?[<ef,bf,bc>{fffc}]"
> child 1/1   - attr 1/3 formatting:block child 1/1   - attr 2/3
> class:NIPhib child 1/1   - attr 3/3 tag:DIV
>
>     <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
>
>     child 1/1 (n:Compose Mail,d:,r:) [actions: click] [subs: Action
> Component EditableText Hypertext Text ] (children: 0)
>     child 1/1   - [states: enabled, focusable, horizontal, opaque,
> sensitive, showing, visible]
>     child 1/1   - Text(len: 12): "Compose Mail"
>     child 1/1   - attr 1/4 class:zD5BAe
>     child 1/1   - attr 2/4 tag:SPAN
>     child 1/1   - attr 3/4 xml-roles:link
>     child 1/1   - attr 4/4 id::r3

What firefox version do you use? We fixed similar bugs recently.

Alex.
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility
Reply | Threaded
Open this post in threaded view
|

Re: click is an action, but clicking does not work

Aaron Leventhal-3
In reply to this post by Alexander Surkov
Please keep updated, we're fixing a11y bugs all the time.

You should be in Firefox 3.0.5 now, and, since you're a developer, you
may wish to consider using public betas of Firefox 3.1:
http://www.mozilla.com/en-US/firefox/all-beta.html

- Aaron


On 1/5/2009 3:35 PM, Quiring, Sam wrote:

> = What firefox version do you use? We fixed similar bugs recently.
>
> Version 3.0.1
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
>
> -Sam
>
>
> -----Original Message-----
> From: dev-accessibility-bounces+sam.quiring=[hidden email] [mailto:dev-accessibility-bounces+sam.quiring=[hidden email]] On Behalf Of Alexander Surkov
> Sent: Sunday, January 04, 2009 7:30 PM
> To: [hidden email]
> Subject: Re: click is an action, but clicking does not work
>
> On Dec 29 2008, 11:38 pm, "Quiring, Sam"<[hidden email]>
> wrote:
>> Greetings,
>>
>> This email is about gmail.com, Google's email website.  If you login
>> to a Gmail account you'll see what looks like a link on the far left,
>> under the Gmail logo: Compose Mail.  If you click on that link with
>> your mouse it will switch you into composition mode.
>>
>> Using at-spi accessibility, when we dump the "Compose Mail" node and
>> it's direct parent (see below), we see that "Compose Mail" is text
>> inside a<span>, not inside an<a>  as expected.  I verified this with
>> Firebug.  You can also see that at-spi reports that 'click' is an
>> action on the "Compose Mail" node.  But when we call
>> Accessible_doAction(node,
>> 0) it fails, returning 0.  We are able to successfully perform every
>> other action we've tried using the at-spi API on that website: bring
>> up Gmail, enter the user name and password.
>>
>> Does anyone know why at-spi's click action does not work for this node?
>> Does anyone have a suggested workaround?
>>
>> -Sam
>>
>> Dump of at-spi information for:
>> ...
>> <div class="NIPhib">
>>       <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
>> <div>
>>
>> <div class="NIPhib">
>>
>> child 1/1 (n:,d:,r:section) [actions: ] [subs: Component EditableText
>> Hypertext Text ] (children: 1) child 1/1   - [states: enabled,
>> horizontal, opaque, sensitive, showing, visible] child 1/1   -
>> Text(len: 1): "?[<ef,bf,bc>{fffc}]"
>> child 1/1   - attr 1/3 formatting:block child 1/1   - attr 2/3
>> class:NIPhib child 1/1   - attr 3/3 tag:DIV
>>
>>      <span id=":r3" role="link" class="zD5BAe">Compose Mail</span>
>>
>>      child 1/1 (n:Compose Mail,d:,r:) [actions: click] [subs: Action
>> Component EditableText Hypertext Text ] (children: 0)
>>      child 1/1   - [states: enabled, focusable, horizontal, opaque,
>> sensitive, showing, visible]
>>      child 1/1   - Text(len: 12): "Compose Mail"
>>      child 1/1   - attr 1/4 class:zD5BAe
>>      child 1/1   - attr 2/4 tag:SPAN
>>      child 1/1   - attr 3/4 xml-roles:link
>>      child 1/1   - attr 4/4 id::r3
>
> What firefox version do you use? We fixed similar bugs recently.
>
> Alex.
> _______________________________________________
> dev-accessibility mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-accessibility

_______________________________________________
dev-accessibility mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-accessibility