Bug 116064

Summary: AX: WebKit exposes CSS counter values as a separate AX object from the rest of the pseudo-element’s generated content.
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: jcraig, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case demonstrating bug none

Description James Craig 2013-05-13 15:28:16 PDT
AX: WebKit exposes CSS counter values as a separate AX object from the rest of the pseudo-element’s generated content.

This generated CSS is spoken by VoiceOver differently depending on whether the “owning” parent element is a labeled group.

    ul.test > li:before {
        content: counter(item, decimal)". “;
    }

If the parent element is a group, it is spoken as two separate elements with values “1” and “.” 
If the parent element is not a group, it is spoken as a single element with value “1.” 

In both cases, WebKit is exposing two AXStaticText elements where I believe there should only be one element containing the concatenated value.
Comment 1 Radar WebKit Bug Importer 2013-05-13 15:29:03 PDT
<rdar://problem/13880555>
Comment 2 James Craig 2013-05-13 15:31:59 PDT
Created attachment 201640 [details]
test case demonstrating bug