Bug 164950 - AX: role=treeitem accessible name not spoken to VoiceOver macOS when using string contained inside element
Summary: AX: role=treeitem accessible name not spoken to VoiceOver macOS when using st...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 10
Hardware: Macintosh macOS 10.12
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-11-18 13:29 PST by Paul J. Adam
Modified: 2017-01-11 16:12 PST (History)
11 users (show)

See Also:


Attachments
patch (4.92 KB, patch)
2017-01-11 14:51 PST, Nan Wang
cfleizach: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul J. Adam 2016-11-18 13:29:01 PST
Steps to Reproduce:
1. Turn on VoiceOver on macOS 10.12.1 and Open Safari 10.0.1.
2. Visit http://w3c.github.io/aria-practices/examples/treeview/treeview-1a/treeview-1a.html.
3. Expand the Projects treeitem.
4. Set focus to project-1.docx treeitem.

Expected Results:
VoiceOver speaks "project-1.docx treeitem".

Actual Results:
VoiceOver speaks "File Viewer table No selection.".
Comment 1 Radar WebKit Bug Importer 2016-11-18 13:29:15 PST
<rdar://problem/29337573>
Comment 2 Nan Wang 2017-01-11 14:51:36 PST
Created attachment 298616 [details]
patch
Comment 3 chris fleizach 2017-01-11 15:59:54 PST
Comment on attachment 298616 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=298616&action=review

> Source/WebCore/accessibility/AccessibilityNodeObject.cpp:1366
> +    // Treeitems missing a label are labeled by all child elements.

tree items is two words
Comment 4 Nan Wang 2017-01-11 16:12:45 PST
committed: https://trac.webkit.org/changeset/210605