summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Caren Chang <carenc@google.com> 2022-07-19 22:05:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-07-19 22:05:32 +0000
commit407d531735419cb7139dde78e65102ae949618f4 (patch)
treefa6f689e43d6c19d1a89e130b7344b7210fc38fe
parent1ae7d6245cf487979daf3b45ee826d22817b00c9 (diff)
parent02bbf4b30c45e1b813c2ff61692472685bfdbce5 (diff)
Merge "Add explanation about the purpose of accessibility heading and use case apps should consider."
-rw-r--r--core/java/android/view/View.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index ffa577a47c88..271d7ba9cdd3 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -12810,6 +12810,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
/**
* Set if view is a heading for a section of content for accessibility purposes.
+ * <p>
+ * Users of some accessibility services can choose to navigate between headings
+ * instead of between paragraphs, words, etc. Apps that provide headings on
+ * sections of text can help the text navigation experience.
*
* @param isHeading {@code true} if the view is a heading, {@code false} otherwise.
*