diff --git a/solution.md b/solution.md index e69de29..43ad2fe 100644 --- a/solution.md +++ b/solution.md @@ -0,0 +1,234 @@ +Adityo - testing-app-for-accessibility-lab + +#signup_fragment.xml + + + + + + + + +#profile_fragment.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#pie_chart_fragment.xml + + + + +#bar_chart_fragment.xml + + + + +#stats_fragment.xml + + diff --git a/starter-code/app/src/main/res/layout/bar_chart_fragment.xml b/starter-code/app/src/main/res/layout/bar_chart_fragment.xml index 079b3be..cdd186c 100644 --- a/starter-code/app/src/main/res/layout/bar_chart_fragment.xml +++ b/starter-code/app/src/main/res/layout/bar_chart_fragment.xml @@ -58,6 +58,7 @@ android:layout_marginStart="10dp" app:materialIcon="arrow_left_bold" app:materialIconColor="#ffffff" + android:contentDescription="Click here to go back" /> diff --git a/starter-code/app/src/main/res/layout/profile_fragment.xml b/starter-code/app/src/main/res/layout/profile_fragment.xml index 4fb5f9a..144237d 100644 --- a/starter-code/app/src/main/res/layout/profile_fragment.xml +++ b/starter-code/app/src/main/res/layout/profile_fragment.xml @@ -72,7 +72,8 @@ android:maxLength="4" android:textColor="#000000" android:textColorHint="#363636" - android:focusable="true"/> + android:focusable="true" + android:contentDescription="This is a text field to enter your year of birth"/> @@ -98,7 +99,8 @@ android:layout_marginTop="16dp" android:text="@string/alert_detail" android:layout_width="match_parent" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:contentDescription="This is a checkbox to enable notification settings" /> @@ -132,7 +134,8 @@ style="@style/toggle_button" android:layout_marginRight="3dp" android:textOff="Man" - android:textOn="Man" /> + android:textOn="Man" + android:contentDescription="Click here if you are a man"/> + android:textOn="Woman" + android:contentDescription="Click here if you are a woman"/> + android:textOn="Lesbian" + android:contentDescription="Click here if you are a lesbian"/> @@ -169,7 +174,8 @@ style="@style/toggle_button" android:layout_marginRight="3dp" android:textOff="Person of Color" - android:textOn="Person of Color" /> + android:textOn="Person of Color" + android:contentDescription="Click here if you are a person of color"/> + android:textOn="Transgender" + android:contentDescription="Click here if you are a transgender"/> @@ -196,7 +203,8 @@ style="@style/toggle_button" android:layout_marginRight="3dp" android:textOff="Gay" - android:textOn="Gay" /> + android:textOn="Gay" + android:contentDescription="Click here if you are gay"/> + android:textOn="Bisexual" + android:contentDescription="Click here if you are bisexual"/> + android:textOn="Minor" + android:contentDescription="Click here if you are a minor"/> @@ -233,7 +243,8 @@ style="@style/toggle_button" android:layout_marginRight="3dp" android:textOff="Queer" - android:textOn="Queer" /> + android:textOn="Queer" + android:contentDescription="Click here if you are a queer"/> + android:textOn="Other" + android:contentDescription="Click here if you identify with another category"/> diff --git a/starter-code/app/src/main/res/layout/signup_fragment.xml b/starter-code/app/src/main/res/layout/signup_fragment.xml index 4e6a3ec..8eea90d 100644 --- a/starter-code/app/src/main/res/layout/signup_fragment.xml +++ b/starter-code/app/src/main/res/layout/signup_fragment.xml @@ -70,6 +70,7 @@ android:background="@android:color/transparent" android:id="@+id/facebook_button" android:src="@drawable/facebook" + android:contentDescription="Click to sign in with facebook" /> diff --git a/starter-code/app/src/main/res/layout/stats_fragment.xml b/starter-code/app/src/main/res/layout/stats_fragment.xml index 52a3696..f1cc55b 100644 --- a/starter-code/app/src/main/res/layout/stats_fragment.xml +++ b/starter-code/app/src/main/res/layout/stats_fragment.xml @@ -39,7 +39,8 @@ android:inputType="number" android:maxLength="5" android:textSize="18sp" - android:focusable="true"/> + android:focusable="true" + android:contentDescription="Enter zipcode here"/>