[Webkit-unassigned] [Bug 92477] REGRESSION (r123767): platform/gtk/accessibility/object-with-title.html failing on GTK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 10:09:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92477


Mario Sanchez Prada <msanchez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #154981|                            |review?
               Flag|                            |




--- Comment #1 from Mario Sanchez Prada <msanchez at igalia.com>  2012-07-27 10:10:02 PST ---
Created an attachment (id=154981)
 --> (https://bugs.webkit.org/attachment.cgi?id=154981&action=review)
Patch proposal

(In reply to comment #0)
> platform/gtk/accessibility/object-with-title.html started failing on GTK after r123767.
> http://trac.webkit.org/changeset/123767/trunk
> [...]
> Perhaps this is actually a progression and the test case should be updated?

Doesn't seem so. It seems the problem is that the <div> holding the second list is not being exposed (when it should be) because helpText() is not returning the title attribute, just because it happens to be the same than the accessibility description (that changed in r123767).

This seems to be a problem for the GTK port because we expect to expose any object with an accessibility description available, regardless of the value of helpText(), which GTK doesn't use (it seems only the mac uses it).

So, in order to fix this I propose the current patch, which only affects the GTK port and that just works on the following simple assumption: if an object has an accessible description available, it should be exposed. Considering that, according ARIA specs, the 'title' attribute is the last resort when calculating the alternative text for an element, I think it's a pretty reasonable assumption to make.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list