[Webkit-unassigned] [Bug 72811] [Gtk] No accessible caret-moved events found in certain content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 18:23:25 PDT 2012


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


Joanmarie Diggs <jdiggs at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #160678|0                           |1
        is obsolete|                            |
 Attachment #160678|review?, commit-queue?      |
               Flag|                            |
 Attachment #160878|                            |review?
               Flag|                            |




--- Comment #36 from Joanmarie Diggs <jdiggs at igalia.com>  2012-08-27 18:23:27 PST ---
Created an attachment (id=160878)
 --> (https://bugs.webkit.org/attachment.cgi?id=160878&action=review)
proposed fix - part 2 (addressed feedback from review)

(In reply to comment #35)

Thanks Chris! I fear this time I may have gone too far in the other direction (too long a comment), but I hope not.

> If I had to guess it's because 
> 
> "<span> tags are inline tags and not meant to convey information if they have no other aria information on them. If we don't ignore them, then they can cause other elements to be ignored because...."

(They also cause events to be emitted from the wrong object.)

Both explained.

> > Source/WebCore/accessibility/gtk/AccessibilityObjectAtk.cpp:83
> > +        && parent->ariaRoleAttribute() == UnknownRole)
> 
> this seems like very specific logic. Generally we don't make inclusion decisions based on what the parent is doing. can you add a better comment here why an anonymous block, who's parent is not the body, and who's parent is not an unknown role, is ignored?
> 
> also, why does it only matter for the parent's aria role but not it's normal role?

Bottom line is being conservative and going with the default behavior for now. But I detailed the areas.

> > Source/WebCore/accessibility/gtk/WebKitAccessibleWrapperAtk.cpp:822
> > +    return role == ParagraphRole || role == HeadingRole || role == DivRole || role == CellRole || role == ListItemRole;
> 
> this patch here seems like a separate issue from the rest of this patch

It does seem so on the surface. But it turns out that without that change, this patch introduces a regression in one of the unit tests. As I mentioned in comment 15, while list item is an always-expect-AtkText role I had not explicitly included it because we already had role-specific code handling that situation. Turned out the handling was based on an unwanted, unexpected GroupRole object. That is my mistake, for which I apologize.

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