summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/accessibility/accessibility.html
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/accessibility/accessibility.html')
-rw-r--r--chromium/chrome/browser/resources/accessibility/accessibility.html94
1 files changed, 65 insertions, 29 deletions
diff --git a/chromium/chrome/browser/resources/accessibility/accessibility.html b/chromium/chrome/browser/resources/accessibility/accessibility.html
index 478c0c27385..1d9b645429c 100644
--- a/chromium/chrome/browser/resources/accessibility/accessibility.html
+++ b/chromium/chrome/browser/resources/accessibility/accessibility.html
@@ -17,11 +17,20 @@ found in the LICENSE file.
</head>
<body>
<h1>Accessibility Internals</h1>
+ <p>
+ Use this page to inspect the internal representation of accessibility in
+ Chrome. You can see and modify the various accessibility modes Chrome has.
+ You can also view the accessibility tree for a specific page, or for the
+ Chrome app natively.
+ </p>
<div class="columns">
<div class="column">
- <h2>Global accessibility mode:</h2>
-
+ <h2>Accessibility modes:</h2>
+ <p>
+ Check/uncheck accessibility modes to see how they change a page's
+ accessibility.
+ </p>
<div class="checkbox-row">
<label>
<span class="checkbox-wrapper">
@@ -103,8 +112,25 @@ found in the LICENSE file.
Automatically labels images.
</div>
- <h2>Options:</h2>
+ <h2>Command line options:</h2>
+ <p>
+ Accessibility features in Chrome are off by default and enabled
+ automatically on-demand. Changes to these modes only take effect
+ until the next time Chrome is restarted.
+ </p>
+ <p>
+ To force accessibility to be enabled at launch, run Chrome with this
+ flag:
+ <pre>--force-renderer-accessibility</pre>
+ </p>
+ <p>
+ To disable accessibility, run Chrome with this flag:
+ <pre>--disable-renderer-accessibility</pre>
+ </p>
+ </div>
+ <div class="column">
+ <h2>Accessibility tree viewing options:</h2>
<div class="checkbox-row">
<span class="checkbox-wrapper">
<input type="checkbox" id="internal"
@@ -118,37 +144,47 @@ found in the LICENSE file.
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>
+ <h3>Filters:</h3>
<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>
+ Use filters to match the attributes and attribute values you want
+ included in the output. Filters can contain simple wildcards (*) only,
+ they're not regular expressions. Attributes are separated by spaces.
</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>
+ <label for="filter-allow">
+ Allow:
+ </label>
+ <input id="filter-allow" aria-describedby="allow_secondary">
+ </div>
+ <div id="allow_secondary" class="secondary">
+ Include these attributes. Empty attributes are skipped.
+ </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>
+ <label for="filter-allow-empty">
+ Allow empty:
+ </label>
+ <input id="filter-allow-empty"
+ aria-describedby="allow-empty_secondary">
+ </div>
+ <div id="allow-empty_secondary" class="secondary">
+ Include these attributes, even if they are empty.
+ </div>
+
+ <div>
+ <label for="filter-deny">
+ Deny:
+ </label>
+ <input id="filter-deny" aria-describedby="deny_secondary">
+ </div>
+ <div id="deny_secondary" class="secondary">
+ Exclude these attributes.
+ </div>
+
+ </div>
</div>
--->
+
<h2>Chrome Native UI:</h2>
<div id="browsers" class="list">
Set a delay, in milliseconds, before getting the native accessibility tree: