Please sign in to comment.
Added logic to only override role description that is said on TalkBac…
…k if it's in english. Summary: Context: On Android, I am currently overriding the role description for TalkBack on certain Roles. Currently, these are done only in English. I needed to add a checker that only overrides these role descriptions if the language of the phone is set Changes: * Added a language checker before I call setRoleDescription * Put the strings into variables. Note: This is done to prioritize a codemod for accessibilityRole. Eventually, we hope to add support for other languages on these roles. Reviewed By: blavalla Differential Revision: D8884991 fbshipit-source-id: 3182eb5856ea57939fb25b17522d4b79ef2078e3
- Loading branch information...
Showing with 48 additions and 17 deletions.
|@@ -0,0 +1,18 @@|
|<?xml version="1.0" encoding="utf-8"?>|