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

Override WithTooltips default role of 'button' #422

Conversation

andrewortwein
Copy link
Collaborator

@andrewortwein andrewortwein commented Jul 13, 2023

The Input component contains an ErrorTooltip wrapper (an instance of WithTooltip). That wrapper, by default, has an aria role of 'button'. It's very strange for an input field to have a button role and it is causing problems with iOS VoiceControl, where selecting that field does not show the on-screen keyboard.

With this change, the role will be overriden to 'none', allowing the keyboard to show.

@andrewortwein andrewortwein marked this pull request as ready for review July 13, 2023 15:10
@andrewortwein andrewortwein merged commit 5cdaba4 into master Jul 13, 2023
5 checks passed
@andrewortwein andrewortwein deleted the andrew/ap-3209-the-sign-inup-form-and-likely-other-parts-of-the-site-does branch July 13, 2023 15:49
@github-actions
Copy link
Contributor

🚀 PR was released in v7.15.13 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants