Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4701: Improve accessibility for confetti text #4702

Conversation

vrajdesai78
Copy link
Contributor

@vrajdesai78 vrajdesai78 commented Nov 8, 2022

Explanation

Fixes #4701: Improved accessibility for congratulations text by changing height to wrap_content and improved contrast ratio by changing color in color pallet.

Essential Checklist

  • The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • Any changes to scripts/assets files have their rationale included in the PR explanation.
  • The PR follows the style guide.
  • The PR does not contain any unnecessary code changes from Android Studio (reference).
  • The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
  • The PR is assigned to the appropriate reviewers (reference).

Screenshot

Before After
image image

Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vrajdesai78 Firstly you cannot directly use component_color_shared_progress_bar_stroke_color, its not a progress bar its a congratulations text view.

So you will need to update value of component_color_shared_correct_text_color in colors file.

Secondly, please share before and after screenshot side-by-side to clearly show the difference.

app/src/main/res/layout-land/question_player_fragment.xml Outdated Show resolved Hide resolved
app/src/main/res/layout/question_player_fragment.xml Outdated Show resolved Hide resolved
app/src/main/res/layout/state_fragment.xml Outdated Show resolved Hide resolved
@rt4914 rt4914 assigned vrajdesai78 and unassigned rt4914 Nov 8, 2022
@vrajdesai78 vrajdesai78 assigned rt4914 and unassigned vrajdesai78 Nov 8, 2022
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks.

@rt4914 rt4914 merged commit acece86 into oppia:develop Nov 9, 2022
adhiamboperes pushed a commit to adhiamboperes/oppia-android that referenced this pull request Nov 10, 2022
## Explanation
Fixes oppia#4701: Improved accessibility for congratulations text by changing
height to wrap_content and improved contrast ratio by changing color in
color pallet.

## Essential Checklist
<!-- Please tick the relevant boxes by putting an "x" in them. -->
- [x] The PR title and explanation each start with "Fix #bugnum: " (If
this PR fixes part of an issue, prefix the title with "Fix part of
#bugnum: ...".)
- [x] Any changes to
[scripts/assets](https://github.com/oppia/oppia-android/tree/develop/scripts/assets)
files have their rationale included in the PR explanation.
- [x] The PR follows the [style
guide](https://github.com/oppia/oppia-android/wiki/Coding-style-guide).
- [x] The PR does not contain any unnecessary code changes from Android
Studio
([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#undo-unnecessary-changes)).
- [x] The PR is made from a branch that's **not** called "develop" and
is up-to-date with "develop".
- [x] The PR is **assigned** to the appropriate reviewers
([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#clarification-regarding-assignees-and-reviewers-section)).


## Screenshot 

Before         |  After
:-------------------------:|:-------------------------:

![image](https://user-images.githubusercontent.com/43074241/200644040-416efbc0-cced-457d-91b3-da8b2c5d877e.png)
|
![image](https://user-images.githubusercontent.com/43074241/200643995-580d2b9c-2742-483c-81dd-18948b4e66f8.png)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[A11YS] - Improve accessibility for confetti text
2 participants