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

[IOPID-1531] fix radio button accessibility on android #278

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

Ladirico
Copy link
Contributor

@Ladirico Ladirico commented Jun 5, 2024

Short description

add importantForAccessibility="no-hide-descendants" to read correctly on Android the accessibility label

DEMO A11Y

Important

On iOS the accessibility was read correctly and there was no regression, so there is no video

🤖 Android OLD 🤖 🤖 Android NEW 🤖
android_a11y_lang.mp4
android_a11y_lang_new.mp4

@Ladirico Ladirico added the bug Something isn't working label Jun 5, 2024
@Ladirico Ladirico self-assigned this Jun 5, 2024
@Ladirico Ladirico requested review from dmnplb and a team as code owners June 5, 2024 10:37
@Ladirico Ladirico merged commit 6de474c into main Jun 5, 2024
6 checks passed
@Ladirico Ladirico deleted the IOPID-1531-fix-radio-button-accessibility branch June 5, 2024 12:10
Ladirico added a commit to pagopa/io-app that referenced this pull request Jun 5, 2024
…5823)

> [!Important] 
> This PR depends on
pagopa/io-app-design-system#278


## Short description
Add new DS on language preferences screen

## List of changes proposed in this pull request
- Change copy
- Integrate new DS
- Delete logic to show banner (always visible)
- Add unit test 
- Change component from class to function
- update DS library version (to apply the fix on accessibility)
- Add logic to show/hide banner from remote

## Demo

<p>

| 🍏 iOS 🍏 | 🤖 Android 🤖 |
| - | - |
| <video
src="https://github.com/pagopa/io-app/assets/83651704/1c5b5a77-ae1d-4057-bac7-c040325f9b1f"/>
| <video
src="https://github.com/pagopa/io-app/assets/83651704/fc949eb8-a63a-4f36-b582-f89bb5558a2d"/>
|

</p>

## A11Y 

<p>

| 🍏 iOS 🍏 | 🤖 Android 🤖 | 🤖 Android NEW (applying the change on DS) 🤖
| - | - | - |
| <video
src="https://github.com/pagopa/io-app/assets/83651704/1f119a94-b9e1-4841-9237-32899f5a3e03"/>
| <video
src="https://github.com/pagopa/io-app/assets/83651704/bb14eb40-9cfd-4bad-9a04-3f27dbd29a70"/>
| <video
src="https://github.com/pagopa/io-app/assets/83651704/5474e622-b338-41e0-a1d9-95a8cdac3dd0"/>
|

</p>


## How to test
Run the application and navigate in _profile section > preferences >
language_
> [!Note] 
> To simulate error i've use **Proxyman**

---------

Co-authored-by: ChrisMattew <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants