RE: Regarding role=tooltip and event firing for dynamic tooltips

Which element should have the description and what should it say?

From: Bryan Garaventa [mailto:bryan.garaventa@ssbbartgroup.com]
Sent: Saturday, March 29, 2014 10:00 PM
To: Bryan Garaventa; public-pfwg@w3.org
Subject: Re: Regarding role=tooltip and event firing for dynamic tooltips

Actually this looks like a screen reader bug.

I've created the following demo that uses role=tooltip
http://whatsock.com/test/dt_demo/Coding%20Arena/Inline%20Form%20Field%20Validation%20and%20Dynamic%20Help%20Tooltips/Dynamic%20Help%20Tooltip/demo.htm

And checking the accDescription property in FF, it appears to reflect the change fine on the edit field.

I don't have IE11 though, so if anybody can confirm that the description property is updating correctly there, I'd appreciate it. I can then file a bug with FS.

Thanks,
Bryan


----- Original Message -----
From: Bryan Garaventa<mailto:bryan.garaventa@ssbbartgroup.com>
To: Bryan Garaventa<mailto:bryan.garaventa@ssbbartgroup.com> ; public-pfwg@w3.org<mailto:public-pfwg@w3.org>
Sent: Saturday, March 29, 2014 8:52 PM
Subject: Re: Regarding role=tooltip and event firing for dynamic tooltips

Sorry, to clarify one point, aria-describedby is on the edit field, role=tooltip is on the Div with tooltip text. As the user types, the aria-describedby value changes to point to another role=tooltip Div using the ID reference for that new tooltip.


----- Original Message -----
From: Bryan Garaventa<mailto:bryan.garaventa@ssbbartgroup.com>
To: public-pfwg@w3.org<mailto:public-pfwg@w3.org>
Sent: Saturday, March 29, 2014 8:50 PM
Subject: Regarding role=tooltip and event firing for dynamic tooltips

Hi,
I was doing a bit of experimentation to see what would happen if role=tooltip were applied to a triggering element such as an edit field, and I dynamically updated aria-describedby to point to a different tooltip with a different ID while typing.

The scenario being a dynamic help tooltip where the user receives helpful feedback while in the process of entering data to shape their response.
E.G http://whatsock.com/tsg/Coding%20Arena/Inline%20Form%20Field%20Validation%20and%20Dynamic%20Help%20Tooltips/Dynamic%20Help%20Tooltip/demo.htm

Using role=tooltip + aria-describedby doesn't work for this scenario however, since the newly added aria-describedby value isn't announced when the tooltip changes to another.

So basically, is this due to an event not firing in the browser, or because the AT isn't recognizing the change?

Btw, the referenced url above doesn't use role=tooltip for this reason, but I can make a demo that does if that helps for testing.

Thanks,
Bryan

Received on Thursday, 3 April 2014 19:03:52 UTC