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

Re: onclick and Firefox

From: Rich Schwerdtfeger <richschwer@gmail.com>
Date: Tue, 29 Mar 2016 14:23:50 -0500
Cc: Rich Schwerdtfeger <schwer@us.ibm.com>, ARIA Working Group <public-aria@w3.org>, Joseph Scheuhammer <clown@alum.mit.edu>
Message-Id: <EA79A16A-30FD-4729-8BD6-F8319FFDFE1C@gmail.com>
To: Alexander Surkov <surkov.alexander@gmail.com>

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 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 <mailto: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 19:24:26 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:23:21 UTC