[Webkit-unassigned] [Bug 130386] New: Bug in AccessibilityNodeObject::helpText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 17 23:39:12 PDT 2014


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

           Summary: Bug in AccessibilityNodeObject::helpText
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dmazzoni at google.com
                CC: cfleizach at apple.com,
                    webkit-bug-importer at group.apple.com


Discovered by ch.dumez at samsung.com in Blink (Chromium) code: https://code.google.com/p/chromium/issues/detail?id=352771
The bug was introduced here: https://bugs.webkit.org/show_bug.cgi?id=99502

In this snippet, getAttribute should be curr->getAttribute.

1403    for (Node* curr = node(); curr; curr = curr->parentNode()) {
1404            const AtomicString& summary = getAttribute(summaryAttr);
1405            if (!summary.isEmpty())
1406                textOrder.append(AccessibilityText(summary, SummaryText));
1407           
1408            // The title attribute should be used as help text unless it is already being used as descriptive text.
1409            const AtomicString& title = getAttribute(titleAttr);
1410            if (!title.isEmpty())
1411                textOrder.append(AccessibilityText(title, TitleTagText));

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