diff options
author | Mindy Pereira <mindyp@google.com> | 2011-12-05 14:30:51 -0800 |
---|---|---|
committer | Mindy Pereira <mindyp@google.com> | 2011-12-06 11:04:58 -0800 |
commit | c0c011f0503af651769d686aad7bf2927e0242b1 (patch) | |
tree | 8f5c52f96816c5d2a4022555ab0c95cda01e2d10 /res/values | |
parent | 2e3a763bd3db8099de96f574d3076dc33316a107 (diff) | |
download | android_packages_apps_ExactCalculator-c0c011f0503af651769d686aad7bf2927e0242b1.tar.gz android_packages_apps_ExactCalculator-c0c011f0503af651769d686aad7bf2927e0242b1.tar.bz2 android_packages_apps_ExactCalculator-c0c011f0503af651769d686aad7bf2927e0242b1.zip |
Fix accessibility for calculator.
Initial set of changes for:
b/5710687 Math operation symbols are spoken poorly - need better contentDescriptions
I think we can still do better, but this is a great start.
Change-Id: Ifa7ad4958c7dc09b467f559c6f5ebfdaa94fcdae
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index df87d98..297a244 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -90,4 +90,28 @@ <string name="clear_history">Clear history</string> <!-- Toast shown when text is copied to the clipboard. --> <string name="text_copied_toast">Text copied.</string> + + <!--Content descriptions for accessibility. These strings will be read aloud to users who are using the calculator with + accessibility features enabled and should reflect the mathematical concept instead of a direct representation of what is shown + on the button--> + <string name="leftParenDesc">left parenthesis</string> + <string name="rightParenDesc">right parenthesis</string> + <string name="factorialDesc">factorial</string> + <string name="lnDesc">natural logarithm</string> + <string name="lgDesc">logarithm</string> + <string name="sqrtDesc">square root</string> + <string name="divDesc">divide</string> + <string name="mulDesc">multiply</string> + <string name="plusDesc">plus</string> + <string name="minusDesc">minus</string> + <string name="dotDesc">point</string> + <string name="powerDesc">power</string> + <string name="delDesc">delete</string> + <string name="clearDesc">clear</string> + <string name="tanDesc">tangent</string> + <string name="sinDesc">sine</string> + <string name="cosDesc">cosine</string> + <string name="eDesc">Euler\'s number</string> + <string name="piDesc">pi</string> + <string name="equalDesc">equals</string> </resources> |