Skip to content

1415 and 1419 screen reader enhancements#1421

Merged
jackocnr merged 3 commits intojackocnr:masterfrom
danman01:fixes/1415-screen-reader-duplicates-country-code
May 21, 2023
Merged

1415 and 1419 screen reader enhancements#1421
jackocnr merged 3 commits intojackocnr:masterfrom
danman01:fixes/1415-screen-reader-duplicates-country-code

Conversation

@danman01
Copy link
Contributor

@danman01 danman01 commented May 5, 2023

1419 - fixes screen reader not reading select box option

closes #1419

1415: remove duplicate country code from screen reader

closes #1415

@jackocnr
Copy link
Owner

jackocnr commented May 5, 2023

Thanks so much for putting this together @danman01.

My only feedback is that when separateDialCode is disabled, we still want to include the dial code in the title.

Danny Kirschner added 2 commits May 11, 2023 15:47
- when separateDialCode is enabled, removes dial code from title

closes jackocnr#1415
@danman01 danman01 force-pushed the fixes/1415-screen-reader-duplicates-country-code branch from b62aaa3 to fa5e32c Compare May 11, 2023 19:49
@danman01
Copy link
Contributor Author

@jackocnr Updated! Let me know if you think the specs are in the right place? After working on it, it looks like the "Unknown" title scenario won't ever get hit, but there might be some case where we still need it in there.

@jackocnr
Copy link
Owner

This looks really great, thank you! Any chance you could build the JS as well? Then we can merge.

https://github.com/jackocnr/intl-tel-input/blob/master/.github/CONTRIBUTING.md#changes-to-the-plugin

@danman01
Copy link
Contributor Author

@jackocnr I ran the build js command and committed the results

@jackocnr jackocnr merged commit e7df86f into jackocnr:master May 21, 2023
@jackocnr
Copy link
Owner

Thanks again

aduth added a commit to 18F/identity-idp that referenced this pull request Sep 19, 2024
aduth added a commit to 18F/identity-idp that referenced this pull request Sep 19, 2024
* LG-14382: Update intl-tel-input to latest version

changelog: Internal, Dependencies, Update dependency to latest version

* Remove unnecessary screen reader text assignment

Now handled internally in intl-tel-input with a11y-text element. Test coverage already exists here for expected value (see modification)

* Remove unnecessary aria-owns removal

Removed upstream in jackocnr/intl-tel-input#1421

* Use i18n option to customize aria-label

Available as of jackocnr/intl-tel-input@fc0fc06

* Remove unnecessary duplicate removal logic

Latest version has "countryOrder" rather than "preferredCountries", no longer outputs duplicate iitems
AShukla-GSA pushed a commit to 18F/identity-idp that referenced this pull request Sep 30, 2024
* LG-14382: Update intl-tel-input to latest version

changelog: Internal, Dependencies, Update dependency to latest version

* Remove unnecessary screen reader text assignment

Now handled internally in intl-tel-input with a11y-text element. Test coverage already exists here for expected value (see modification)

* Remove unnecessary aria-owns removal

Removed upstream in jackocnr/intl-tel-input#1421

* Use i18n option to customize aria-label

Available as of jackocnr/intl-tel-input@fc0fc06

* Remove unnecessary duplicate removal logic

Latest version has "countryOrder" rather than "preferredCountries", no longer outputs duplicate iitems
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.

A11y issue with selecting country option on Chrome A11y issue with country dropdown

2 participants