GNOME Bugzilla – Bug 515263
ARIA tooltips should respect presentToolTips setting
Last modified: 2008-07-22 19:33:47 UTC
ARIA tooltip support should respect presentToolTips setting.
Created attachment 105071 [details] [review] first version of ARIA tooltips should respect presentToolTips setting This version respects settings.presentToolTips for ARIA 'tooltips' only. Note that Dojo uses ARIA 'alerts' for tooltips. I do not believe this is correct so 'alerts' do not respect settings.presentToolTips in this version.
To test use the 'alerts' and 'tooltips' links from http://live.gnome.org/Orca/Firefox/ARIAWidgets and change toggle settings.presentToolTips
(In reply to comment #1) > Created an attachment (id=105071) [edit] > first version of ARIA tooltips should respect presentToolTips setting > > This version respects settings.presentToolTips for ARIA 'tooltips' only. Note > that Dojo uses ARIA 'alerts' for tooltips. I do not believe this is correct so > 'alerts' do not respect settings.presentToolTips in this version. In looking at the area this is changing, I'm seeing it returning False for isAriaAlert if presentTooltips is False. I'm not sure that is the right thing to do since it is still an alert even if we don't want to speak it. But then...I tried to find the code that was calling isAriaAlert. Where does that exist? My grep's in the code only showed the definition of the method, but nobody seems to be calling it.
> In looking at the area this is changing, I'm seeing it returning False for > isAriaAlert if presentTooltips is False. I'm not sure that is the right thing > to do since it is still an alert even if we don't want to speak it. > > But then...I tried to find the code that was calling isAriaAlert. Where does > that exist? My grep's in the code only showed the definition of the method, > but nobody seems to be calling it. > isAriaAlert() is obsolete and has been removed. presentTooltips is only respected for ARIA tooltips. Alerts are unaffected by the setting. The only problem is that Dojo uses 'alert' for 'tooltip' so Dojo tooltips will always be presented. All ARIA widgets that I use for testing are linked from http://live.gnome.org/Orca/Firefox/ARIAWidgets New patch with isAriaAlert() removed to follow.
Created attachment 105255 [details] [review] second version of ARIA tooltips should respect presentToolTips setting patch with isAriaAlert() removed.
(In reply to comment #5) > Created an attachment (id=105255) [edit] > second version of ARIA tooltips should respect presentToolTips setting > > patch with isAriaAlert() removed. Looks awesome. Thanks! As long as you test it and pylint it, I say check it in.
committed to trunk. Marked as fixed.