commit | efb5f9e3bfda6dd47f186ba731b9fc7428ab626f | [log] [tgz] |
---|---|---|
author | Dominic Mazzoni <[email protected]> | Thu Dec 21 01:08:22 2017 |
committer | Commit Bot <[email protected]> | Thu Dec 21 01:08:22 2017 |
tree | 957498d7b93e507314eb04ea76491bf1d64d394c | |
parent | 1b3bcfad7be6eb12e548c41bdecaf6ef6f4e8c5c [diff] |
Make interstitial pages accessible. WebContentsImpl maintains both a real page, and also optionally an interstitial page that's shown instead of the main page if the site isn't safe. The interstitial wasn't accessible, we were still exposing the main page via accessibility APIs even if an interstitial was showing visually. This change modifies WebContentsImpl so that if an interstitial is visible, that interstitial is exposed instead of the main page, matching what's shown visually. When an interstitial is attached or detached, ensure that focus events are fired, and ensure that the page hidden by the interstitial can't fire any accessibility events. Adds a browser test to ensure this works. Bug: 730910 Change-Id: I471ca92c0563fb803ada182edd96675d0a9a0cad Reviewed-on: https://chromium-review.googlesource.com/830619 Reviewed-by: Jochen Eisinger <[email protected]> Reviewed-by: Nektarios Paisios <[email protected]> Reviewed-by: Emily Stark <[email protected]> Commit-Queue: Dominic Mazzoni <[email protected]> Cr-Commit-Position: refs/heads/master@{#525545}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .