Support presentational iframes and make use of them in the uber frame.
commit8b43c604a8a5ca11bdf01b12a7c2f34f2bfcc54f
authordmazzoni <dmazzoni@chromium.org>
Wed, 17 Dec 2014 21:23:35 +0000 (17 13:23 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Dec 2014 21:24:16 +0000 (17 21:24 +0000)
treec577554890e1772a578f764c87cfc5b2662bcd43
parent0b8e89db353a544e7da1368d91851c07623c3847
Support presentational iframes and make use of them in the uber frame.

A presentational iframe, e.g. <iframe role="presentation">, is one where the
web author is indicating that the frame is an implementation detail. Suppress
the normal role for the frame and for its inner document / web area, so that
accessibility clients see the frame as if it was part of the parent document.

Make use of this in the uber frame for settings, history, and extensions.

BUG=436186

Review URL: https://codereview.chromium.org/755173004

Cr-Commit-Position: refs/heads/master@{#308859}
15 files changed:
chrome/browser/resources/uber/uber.html
chrome/browser/resources/uber/uber.js
chrome/common/extensions/api/automation.idl
content/browser/accessibility/browser_accessibility.cc
content/browser/accessibility/browser_accessibility.h
content/browser/accessibility/browser_accessibility_cocoa.mm
content/browser/accessibility/browser_accessibility_win.cc
content/browser/accessibility/dump_accessibility_tree_browsertest.cc
content/renderer/accessibility/blink_ax_enum_conversion.cc
content/test/data/accessibility/iframe-presentational-expected-android.txt [new file with mode: 0644]
content/test/data/accessibility/iframe-presentational-expected-mac.txt [new file with mode: 0644]
content/test/data/accessibility/iframe-presentational-expected-win.txt [new file with mode: 0644]
content/test/data/accessibility/iframe-presentational.html [new file with mode: 0644]
ui/accessibility/ax_enums.idl
ui/accessibility/platform/ax_platform_node_mac.mm