| Index: content/browser/resources/accessibility/accessibility.html
|
| diff --git a/content/browser/resources/accessibility/accessibility.html b/content/browser/resources/accessibility/accessibility.html
|
| index 1d8efd302a7c87be1bb550c886f8aa5ce8531bef..62749dcabe829307e26fc6b39b983cd782de7470 100644
|
| --- a/content/browser/resources/accessibility/accessibility.html
|
| +++ b/content/browser/resources/accessibility/accessibility.html
|
| @@ -7,7 +7,7 @@ found in the LICENSE file.
|
| -->
|
| <head>
|
| <meta charset="utf-8">
|
| - <title>Accessibility</title>
|
| + <title>Accessibility Internals</title>
|
| <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
|
| <link rel="stylesheet" href="accessibility.css">
|
| <script src="chrome://resources/js/cr.js"></script>
|
| @@ -18,13 +18,123 @@ found in the LICENSE file.
|
| <script src="accessibility.js"></script>
|
| </head>
|
| <body>
|
| - <h1>Accessibility</h1>
|
| + <h1>Accessibility Internals</h1>
|
| +
|
| + <div class="columns">
|
| + <div class="column">
|
| + <h2>Global accessibility mode:</h2>
|
| +
|
| + <div class="checkbox_row">
|
| + <span class="checkbox_wrapper">
|
| + <input type="checkbox" id="native"
|
| + aria-describedby="native_secondary">
|
| + </span>
|
| + <label for="native">
|
| + Native accessibility API support
|
| + </label>
|
| + </div>
|
| + <div id="native_secondary" class="secondary">
|
| + Allows Chrome to be controlled via native accessibility APIs
|
| + specific to this platform.
|
| + </div>
|
| +
|
| + <div class="checkbox_row">
|
| + <span class="checkbox_wrapper">
|
| + <input type="checkbox" id="web"
|
| + aria-describedby="web_secondary">
|
| + </span>
|
| + <label for="web">
|
| + Web accessibility
|
| + </label>
|
| + </div>
|
| + <div id="web_secondary" class="secondary">
|
| + Accessibility support is enabled for web content.
|
| + </div>
|
| +
|
| + <div class="checkbox_row">
|
| + <span class="checkbox_wrapper">
|
| + <input type="checkbox" id="text"
|
| + aria-describedby="text_secondary">
|
| + </span>
|
| + <label for="text">
|
| + Text metrics
|
| + </label>
|
| + </div>
|
| + <div id="text_secondary" class="secondary">
|
| + Enables support for querying line breaks and the bounding
|
| + box of arbitrary character ranges.
|
| + </div>
|
| +
|
| + <div class="checkbox_row">
|
| + <span class="checkbox_wrapper">
|
| + <input type="checkbox" id="screenreader"
|
| + aria-describedby="screenreader_secondary">
|
| + </span>
|
| + <label for="screenreader">
|
| + Screen reader support
|
| + </label>
|
| + </div>
|
| + <div id="screenreader_secondary" class="secondary">
|
| + Exposes accessibility APIs typically needed only by
|
| + screen readers.
|
| + </div>
|
| +
|
| + <div class="checkbox_row">
|
| + <span class="checkbox_wrapper">
|
| + <input type="checkbox" id="html"
|
| + aria-describedby="html_secondary">
|
| + </span>
|
| + <label for="html">
|
| + HTML
|
| + </label>
|
| + </div>
|
| + <div id="html_secondary" class="secondary">
|
| + Exposes HTML tag names and attributes via accessibility APIs.
|
| + </div>
|
| +
|
| + <h2>Options:</h2>
|
| +
|
| + <div class="checkbox_row">
|
| + <span class="checkbox_wrapper">
|
| + <input type="checkbox" id="internal"
|
| + aria-describedby="internal_secondary">
|
| + </span>
|
| + <label for="internal">
|
| + Internal
|
| + </label>
|
| + </div>
|
| + <div id="internal_secondary" class="secondary">
|
| + Show internal accessibility tree instead of native
|
| + </div>
|
| +
|
| + </div>
|
| + <div class="column">
|
| + <p>
|
| + Accessibility features in Chrome are off by default and enabled
|
| + automatically on-demand. Changes to this page only take effect
|
| + until the next time Chrome is restarted.
|
| + </p>
|
| + <p>
|
| + To force accessibility to be enabled at launch, run Chrome with this
|
| + command-line flag:
|
| + <pre>--force-renderer-accessibility</pre>
|
| + </p>
|
| + <p>
|
| + To disable accessibility, run Chrome with this flag:
|
| + <pre>--disable-renderer-accessibility</pre>
|
| + </p>
|
| + </div>
|
| + </div>
|
| +
|
| + <!--
|
| <div id="global" class="row">Global accessibility mode:
|
| <a is="action-link" role="button" id="toggle_global" aria-labelledby="global"></a>
|
| </div>
|
| +
|
| <div id="internal" class="row">Show internal accessibility tree instead of native:
|
| <a is="action-link" role="button" id="toggle_internal" aria-labelledby="internal"></a>
|
| </div>
|
| +-->
|
| <div id="pages" class="list"></div>
|
| <script src="chrome://resources/js/i18n_template.js"></script>
|
| </body>
|
|
|