Bug 132379 - AX: Make "contenteditable" regions into AXTextAreas
Summary: AX: Make "contenteditable" regions into AXTextAreas
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-04-29 23:34 PDT by chris fleizach
Modified: 2014-04-30 13:49 PDT (History)
11 users (show)

See Also:


Attachments
patch (11.76 KB, patch)
2014-04-29 23:36 PDT, chris fleizach
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion (632.48 KB, application/zip)
2014-04-30 00:14 PDT, Build Bot
no flags Details
patch (11.77 KB, patch)
2014-04-30 00:17 PDT, chris fleizach
mario: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 (563.40 KB, application/zip)
2014-04-30 01:51 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion (521.80 KB, application/zip)
2014-04-30 03:40 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion (494.18 KB, application/zip)
2014-04-30 04:39 PDT, Build Bot
no flags Details
patch (11.75 KB, patch)
2014-04-30 08:46 PDT, chris fleizach
no flags Details | Formatted Diff | Diff
patch for landing (13.37 KB, patch)
2014-04-30 09:04 PDT, chris fleizach
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 (464.76 KB, application/zip)
2014-04-30 10:05 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (494.36 KB, application/zip)
2014-04-30 10:30 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion (495.43 KB, application/zip)
2014-04-30 11:29 PDT, Build Bot
no flags Details
patch for landing (15.01 KB, patch)
2014-04-30 12:59 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 chris fleizach 2014-04-29 23:34:13 PDT
If we can make contenteditable regions into text areas, I think it will improve the reliability of VoiceOver interaction with these objects.

We'll be able to use the much more standarized AXTextArea interface, rather than trying to figure what's going on with a random group on the web that has content editable.


<rdar://problem/16756501>
Comment 1 chris fleizach 2014-04-29 23:36:06 PDT
Created attachment 230462 [details]
patch
Comment 2 Build Bot 2014-04-30 00:14:05 PDT
Comment on attachment 230462 [details]
patch

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 3 Build Bot 2014-04-30 00:14:09 PDT
Created attachment 230465 [details]
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-06  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 4 chris fleizach 2014-04-30 00:17:38 PDT
Created attachment 230466 [details]
patch
Comment 5 Build Bot 2014-04-30 01:51:24 PDT
Comment on attachment 230466 [details]
patch

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 6 Build Bot 2014-04-30 01:51:28 PDT
Created attachment 230470 [details]
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-10  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 7 Mario Sanchez Prada 2014-04-30 03:17:56 PDT
Comment on attachment 230466 [details]
patch

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

Looks good, just a couple of comments below

> LayoutTests/platform/mac/accessibility/content-editable-as-textarea-expected.txt:32
> +    AXMarkedMisspelled = 1;

This line is not being output when running the test in the Mac bots. Guess you should just remove it from here?

> LayoutTests/platform/mac/accessibility/content-editable-as-textarea.html:32
> +            window.testRunner.notifyDone();
> +        }
> +    }
> +
> +    if (window.accessibilityController) {
> +        window.testRunner.waitUntilDone();

I think the "trend" these days is to declare window.jsTestIsAsync = true; and call finishJSTest() when done, instead of using waitUntilDone() and notifyDone().

Could you change that before landing?
Comment 8 Build Bot 2014-04-30 03:40:25 PDT
Comment on attachment 230466 [details]
patch

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 9 Build Bot 2014-04-30 03:40:30 PDT
Created attachment 230471 [details]
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-05  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 10 Build Bot 2014-04-30 04:39:50 PDT
Comment on attachment 230466 [details]
patch

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 11 Build Bot 2014-04-30 04:39:55 PDT
Created attachment 230472 [details]
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-02  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 12 chris fleizach 2014-04-30 08:46:50 PDT
Created attachment 230479 [details]
patch

Thanks Mario

Patch for landing…
Comment 13 Mario Sanchez Prada 2014-04-30 09:01:12 PDT
Comment on attachment 230479 [details]
patch

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

> LayoutTests/platform/mac/accessibility/content-editable-as-textarea-expected.txt:32
> +    AXMarkedMisspelled = 1;

Did you intentionally left this one here?
Comment 14 chris fleizach 2014-04-30 09:03:38 PDT
Comment on attachment 230479 [details]
patch

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

>> LayoutTests/platform/mac/accessibility/content-editable-as-textarea-expected.txt:32
>> +    AXMarkedMisspelled = 1;
> 
> Did you intentionally left this one here?

ugh, i keep trying to add a mac-mountainlion test specific for this but keep forgetting something (like svn add)
Comment 15 chris fleizach 2014-04-30 09:04:18 PDT
Created attachment 230482 [details]
patch for landing
Comment 16 Build Bot 2014-04-30 10:05:20 PDT
Comment on attachment 230482 [details]
patch for landing

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 17 Build Bot 2014-04-30 10:05:24 PDT
Created attachment 230488 [details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-13  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 18 Mario Sanchez Prada 2014-04-30 10:26:37 PDT
(In reply to comment #16)
> (From update of attachment 230482 [details])
> Attachment 230482 [details] did not pass mac-wk2-ews (mac-wk2):
> Output: http://webkit-queues.appspot.com/results/4947462905135104
> 
> New failing tests:
> platform/mac/accessibility/content-editable-as-textarea.html

It looks to me like you might need another platform specific expectation for mac-wk2. Or maybe just one for mac/?
Comment 19 Build Bot 2014-04-30 10:30:06 PDT
Comment on attachment 230482 [details]
patch for landing

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 20 Build Bot 2014-04-30 10:30:12 PDT
Created attachment 230491 [details]
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-08  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 21 chris fleizach 2014-04-30 11:28:51 PDT
(In reply to comment #18)
> (In reply to comment #16)
> > (From update of attachment 230482 [details] [details])
> > Attachment 230482 [details] [details] did not pass mac-wk2-ews (mac-wk2):
> > Output: http://webkit-queues.appspot.com/results/4947462905135104
> > 
> > New failing tests:
> > platform/mac/accessibility/content-editable-as-textarea.html
> 
> It looks to me like you might need another platform specific expectation for mac-wk2. Or maybe just one for mac/?

Maybe sub-platform specific test results don't work when it's already a platform test?
Comment 22 Build Bot 2014-04-30 11:29:09 PDT
Comment on attachment 230482 [details]
patch for landing

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

New failing tests:
platform/mac/accessibility/content-editable-as-textarea.html
Comment 23 Build Bot 2014-04-30 11:29:15 PDT
Created attachment 230500 [details]
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-06  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 24 chris fleizach 2014-04-30 12:59:35 PDT
Created attachment 230514 [details]
patch for landing

Moved this to the AX folder and have specific platform results. GTK can add in their results too
Comment 25 chris fleizach 2014-04-30 13:49:27 PDT
http://trac.webkit.org/changeset/168042