Button : To announce the button , talkback will announce :
There are many reasons which should follow :
This is not good example.
This is also not good example.
Here is the example of 2 types of buttons , in that one it in disabled state :
There are many reasons which should follow :
- content Description should add only when it is required that the announcement is differ from button text
- Button (Element name) string should not added in content description string, like :
android:contentDescription="Submit Button"
This is not good example.
- Similarly “Double Tap to activate” (Element Action) string should not added in content description string, like :
android:contentDescription="Submit double tap to activate"
This is not good example.
- Also , if button’s state like : enable/disable it should also not added in content description string like:
android:contentDescription="Submit disabled"
This is also not good example.
Here is the example of 2 types of buttons , in that one it in disabled state :
In this demo ,there is no extra announcement has been added, it is announcing by default.
No comments:
Post a Comment