Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose / Description
The problem is when hovering over the ease buttons in talkback, instead of saying "less than 1 minute, hard", the voice would say "less than 1 metre, hard". This was because there was no content description defined there and it was reading 'm' as metre.
Approach
Added a content description block to the EaseButton.kt file, previously it was just setting the text directly but now the content description is defined while replacing m with minutes, h with hours, d with days.
How Has This Been Tested?
Screen_recording_20251209_111440.webm
Learning (optional, can help others)
I had not found any particular buttons which were not working with talkback so I decided to check the reviewer tab and realised its quite unusable in its current state.
I had a lot of difficulty tracing where the text was being set for the button since it's dynamic and not static. I initially made the mistake of thinking AnswerButton.kt is where the time is set and tried to implement the fix there but after a lot of testing, realised it was not. Then I swept for nextTime and managed to find AbstractFlashcardViewer.kt which was using an EaseButton class which was the actual class to be changed.
Checklist
Please, go through these checks before submitting the PR.