New issue
Advanced search Search tips

Issue 725134 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Team-Accessibility



Sign in to add a comment

Shoud use LocaleSpan to indicate language for accessibility

Project Member Reported by dmazz...@chromium.org, May 22 2017

Issue description

TalkBack now respects a LocaleSpan indicating the language of strings passed back from accessibility APIs. We should use that to express the language of a page or specific content on the page.

 
Project Member

Comment 1 by bugdroid1@chromium.org, May 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b548f9cf279046ffad8e2eae5dc1f63ebaf1cd43

commit b548f9cf279046ffad8e2eae5dc1f63ebaf1cd43
Author: dmazzoni <dmazzoni@chromium.org>
Date: Tue May 23 18:24:32 2017

Expose the language to Android accessibility services using LocaleSpans

TalkBack and other accessibility services on Android now pay attention to
LocaleSpans to determine what language to use when speaking text. Wrap
text in AccessibilityNodeInfo in a LocaleSpan indicating the correct
language, but for efficiency, only do this when it's different than the
system language.

BUG= 725134 

Review-Url: https://codereview.chromium.org/2902533002
Cr-Commit-Position: refs/heads/master@{#473989}

[modify] https://crrev.com/b548f9cf279046ffad8e2eae5dc1f63ebaf1cd43/content/browser/accessibility/browser_accessibility_manager_android.cc
[modify] https://crrev.com/b548f9cf279046ffad8e2eae5dc1f63ebaf1cd43/content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java
[modify] https://crrev.com/b548f9cf279046ffad8e2eae5dc1f63ebaf1cd43/content/public/android/java/src/org/chromium/content/browser/accessibility/LollipopBrowserAccessibilityManager.java

Status: Fixed (was: Started)

Sign in to add a comment