W3C home > Mailing lists > Public > public-aria@w3.org > March 2016

Re: onclick and Firefox

From: Alexander Surkov <surkov.alexander@gmail.com>
Date: Tue, 29 Mar 2016 18:00:38 -0400
Message-ID: <CA+epNsc39n_CuWZ3a4X5bQZANcygmStMhaqpteJfeVP+_XLn6A@mail.gmail.com>
To: Rich Schwerdtfeger <richschwer@gmail.com>
Cc: Rich Schwerdtfeger <schwer@us.ibm.com>, ARIA Working Group <public-aria@w3.org>, Joseph Scheuhammer <clown@alum.mit.edu>
Hi, Rich. I'm not completely sure what you mean. Firefox doesn't add
onclick handlers, since it's what the author does.

In regards to your previous email, we do create accessibles for text leafs.

On Tue, Mar 29, 2016 at 3:23 PM, Rich Schwerdtfeger <richschwer@gmail.com>
wrote:

> Alex,
>
> Joseph discovered that you MUST put an onclick handler on the input field
> to prevent the bubbling. Otherwise the onclick fires on the body tag in
> Firefox (latest version as of last week).
>
> Rich
>
> Rich Schwerdtfeger
>
>
>
>
> On Mar 23, 2016, at 7:20 AM, Alexander Surkov <surkov.alexander@gmail.com>
> wrote:
>
> Hi, Rich. Yes but to text leaf descendants only. If you put an input
> element under a body with onclick, then I think it won't pick up the body's
> action.
>
> On Tue, Mar 15, 2016 at 4:34 PM, Richard Schwerdtfeger <schwer@us.ibm.com>
> wrote:
>
>> Hi Alex,
>>
>> At one point, if an author were to place an onclick handler on the body
>> tag Firefox was exposing it through actions in all the descendant elements
>> in the accessibility tree. Is that still true?
>>
>> Rich
>>
>> Rich Schwerdtfeger
>>
>>
>
>
Received on Tuesday, 29 March 2016 22:01:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:58:23 UTC