Same as switches , checkbox should also covey all the information once get focused :
As per accessibility guidelines , checkbox should announce its State, its title , and action .
For Example :
There are 2 example , 1 is incorrect accessibility behaviour and another one is correct accessibility behaviour :
Incorrect checkbox accessibility behaviour :
Correct checkbox accessibility behaviour :
For Example :
As per accessibility guidelines , checkbox should announce its State, its title , and action .
For Example :
There are 2 example , 1 is incorrect accessibility behaviour and another one is correct accessibility behaviour :
Incorrect checkbox accessibility behaviour :
![]() |
| Incorrect checkbox accessibility behaviour |
![]() |
| Incorrect checkbox accessibility behaviour |
Correct checkbox accessibility behaviour :
![]() |
| Correct checkbox accessibility behaviour |
-
Checkbox with Grouping :
For grouping of checkboxes , each and every checkbox of that group should convey the information of it's group title as well , like :
<Group_name>
< check_box1 />
< check_box2 />
</Group_name>
So check_box1 will announce like : <State> <Check box title + Group title> <Action>
For Example :
<TextView
android:id="@+id/textView"
android:text="Preferred technical skills"/>
<CheckBox
android:id="@+id/check1"
android:text="Java"
android:contentDescription="Java , Preferred technical skills" />
<CheckBox
android:id="@+id/check2"
android:text="Android"
android:contentDescription="Android , Preferred technical skills" />
<CheckBox
android:id="@+id/check3"
android:text="React Native"
android:contentDescription="React Native , Preferred technical skills"




No comments:
Post a Comment