Bug 169929 - AX: WebKit does not exclude ::before/::after pseudo-elements from AX API when @aria-modal is used
Summary: AX: WebKit does not exclude ::before/::after pseudo-elements from AX API when...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://w3c.github.io/aria-practices/e...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-03-21 15:31 PDT by James Craig
Modified: 2019-09-07 09:38 PDT (History)
2 users (show)

See Also:


Attachments
screen shot: VO cursor on gen content outside modal dialog (203.34 KB, image/png)
2017-03-21 15:31 PDT, James Craig
no flags Details
screen shot: web inspector (222.69 KB, image/png)
2017-03-21 15:40 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 2017-03-21 15:31:03 PDT
Created attachment 305036 [details]
screen shot: VO cursor on gen content outside modal dialog

AX: WebKit does not exclude ::before/::after pseudo-elements from AX API when @aria-modal is used


1. Load: http://w3c.github.io/aria-practices/examples/dialog-modal/dialog.html
2. Press the "Add Delivery Address" button.
3. Stop interacting with the modal dialog.
4. Navigate to a bunch of random quotation marks.

In this case, the Q element <q>foo</q> renders its quotation marks as ::before/::after pseudo elements exposed by the render tree, not the DOM.

Note: test cases should include:

1. Default generated content like the quotation marks in <q>foo</q> 
2. Author-generated text content: div::before { content: "foo"; }
3. Author-generated alt content: div::after { content: url(img.png); alt: "alt"; }
Comment 1 James Craig 2017-03-21 15:34:38 PDT
Test case #3 will change once bug 159022 is implemented.
Comment 2 James Craig 2017-03-21 15:40:14 PDT
Created attachment 305037 [details]
screen shot: web inspector
Comment 3 Radar WebKit Bug Importer 2017-03-23 09:41:49 PDT
<rdar://problem/31221250>