Bug 116064 - AX: WebKit exposes CSS counter values as a separate AX object from the rest of the pseudo-element’s generated content.
Summary: AX: WebKit exposes CSS counter values as a separate AX object from the rest o...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-05-13 15:28 PDT by James Craig
Modified: 2013-05-13 15:31 PDT (History)
2 users (show)

See Also:


Attachments
test case demonstrating bug (1.35 KB, text/html)
2013-05-13 15:31 PDT, James Craig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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