Bug 115499 - AX: aria-checked not exposed correctly on menuitemcheckbox or menuitemradio roles
Summary: AX: aria-checked not exposed correctly on menuitemcheckbox or menuitemradio r...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-05-01 16:59 PDT by James Craig
Modified: 2013-05-05 16:25 PDT (History)
13 users (show)

See Also:


Attachments
patch (5.98 KB, patch)
2013-05-02 23:30 PDT, chris fleizach
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (505.00 KB, application/zip)
2013-05-03 01:16 PDT, Build Bot
no flags Details
patch (6.13 KB, patch)
2013-05-03 08:57 PDT, chris fleizach
no flags Details | Formatted Diff | Diff
patch (6 bytes, patch)
2013-05-04 00:21 PDT, chris fleizach
no flags Details | Formatted Diff | Diff
patch (6.25 KB, patch)
2013-05-04 00:22 PDT, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2013-05-01 16:59:03 PDT
AX: aria-checked not exposed correctly on menuitemcheckbox or menuitemradio roles

https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA/1.0/tests/test-files/_/777.htm
Comment 1 Radar WebKit Bug Importer 2013-05-01 16:59:18 PDT
<rdar://problem/13787768>
Comment 2 James Craig 2013-05-01 17:01:18 PDT
Expected AXMenuItemMarkChar: ✓
Comment 3 chris fleizach 2013-05-02 23:30:50 PDT
Created attachment 200390 [details]
patch
Comment 4 Build Bot 2013-05-03 01:16:07 PDT
Comment on attachment 200390 [details]
patch

Attachment 200390 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/388385

New failing tests:
platform/mac/accessibility/aria-menuitem-checked-value.html
Comment 5 Build Bot 2013-05-03 01:16:09 PDT
Created attachment 200393 [details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-12  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.2
Comment 6 chris fleizach 2013-05-03 08:57:26 PDT
Created attachment 200416 [details]
patch
Comment 7 chris fleizach 2013-05-03 18:14:11 PDT
Comment on attachment 200416 [details]
patch

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

> Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:2301
> +        return (m_object->isChecked()) ? @"â" : nil;

this is the checkmark that the Mac returns for selected menu items
Comment 8 Tim Horton 2013-05-03 18:22:59 PDT
Comment on attachment 200416 [details]
patch

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

>> Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:2301
>> +        return (m_object->isChecked()) ? @"â" : nil;
> 
> this is the checkmark that the Mac returns for selected menu items

Can we use [NSString stringWithUTF8String:"\xe2\x9c\x93"] instead? My understanding is that using unicode in objc string literals is a Bad Idea regardless of file encoding. Alexey or Dan would know better though.
Comment 9 Alexey Proskuryakov 2013-05-04 00:11:01 PDT
IIRC this works just fine starting with Lion (as long as source file encoding is set to UTF-8 in Xcode project file).
Comment 10 chris fleizach 2013-05-04 00:21:21 PDT
Created attachment 200519 [details]
patch
Comment 11 chris fleizach 2013-05-04 00:22:11 PDT
Created attachment 200520 [details]
patch
Comment 12 WebKit Commit Bot 2013-05-05 16:24:58 PDT
Comment on attachment 200520 [details]
patch

Clearing flags on attachment: 200520

Committed r149581: <http://trac.webkit.org/changeset/149581>
Comment 13 WebKit Commit Bot 2013-05-05 16:25:01 PDT
All reviewed patches have been landed.  Closing bug.