-
Notifications
You must be signed in to change notification settings - Fork 506
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
[A11y] Pin Verification Screen #2627
Comments
|
@mschanteltc Actually we cannot control the |
1 similar comment
@mschanteltc Actually we cannot control the |
How would the user know that the 'Show/Hide' button is clickable? If there is no label for this button or to show that it can be toggled, is there any way that we can? |
It would read like this: |
Is it possible we can use "Double-tap to hide" (or show)? Or is "Double-tap to activate" the default we must use? |
|
@mschanteltc So basically there are three parts to this: So in this we can control only (a.) and (b.). Part (c.) is controlled by readers and therefore we cannot control it. |
Okay so in that case what would be the final output from talkback? @Arjupta |
Current, Adobe XD mock (with confusing icon and label): Looking at the current output, the current Adobe XD mock (above image), and the screenshot in the PRD, there seems to be inconsistencies with the UI/UX. I'm thinking of the following solution, based on NN Group's recommendation on state-switch controls (scroll to "Recommendations"):
PIN Shown (Talkback: Password shown icon, Hide, Double-tap to activate) PIN Hidden (Talkback: Password hidden icon, Show, Double-tap to activate) With these in mind, the following can be read: WDYT? |
@mschanteltc Sounds good. We can implement this. |
Updated the mocks to reflect the new changes. |
* A11y related strings * Part 2 of issue fixed * Nit fix in tests * Added another test Co-authored-by: Rajat Talesra <[email protected]>
demo_new_pin_view.mp4This is just a demo for reference fore new pin view which will help us control RTL and A11y in much better way and also we can remove the 3rd party library which we are using right now. |
@yash10019coder Any updates on this? |
## Explanation Fixes #2627: Improve accessibility for Pin Verification screen. I have removed seperate textview which is used to show error text. Now, error is set directly to PinPassPasswordInputEditText using onTextChanged extension function. ## 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)). ### Before https://user-images.githubusercontent.com/9396084/107003150-543c2700-67b2-11eb-97f0-636b2bd4db10.mp4 ### After https://user-images.githubusercontent.com/43074241/180941747-b5dad9b0-2ea4-45c2-9003-a4dc1ac56ff9.mp4 ### Passing updated testcases ![Screenshot from 2022-07-29 23-49-25](https://user-images.githubusercontent.com/43074241/181823121-7932c429-8d02-4cf5-b751-48fcabd7c15c.png) ![Screenshot from 2022-07-29 23-52-30](https://user-images.githubusercontent.com/43074241/181823129-e6c3efdc-6183-4233-86b9-b47ccb5e7d6d.png) ![Screenshot from 2022-07-29 23-55-13](https://user-images.githubusercontent.com/43074241/181823134-12b66281-ecec-4215-96b3-5ca06bc11ad2.png)
Current Output
current_profile_pin_full_video.mp4
Issues Identified
(a) Password [shown/hidden] icon
(b.) [SHOW/HIDE]
(c.) Double-tap to activate
Note: To understand the above issue(s) completely, it is recommended that you setup Talkback and play with the app keeping it on and that will give you better context.
Accessibility Guide: https://github.com/oppia/oppia-android/wiki/Accessibility-(A11y)-Guide
The text was updated successfully, but these errors were encountered: