Re: onclick and Firefox

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 <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