[Bug] Keyboard Bugs and Xamarin.Forms migration concerns #11703
Labels
area-keyboard
Keyboard, soft keyboard
fixed-in-8.0.0-rc.1.9171
Look for this fix in 8.0.0-rc.1.9171
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
partner/cat 😻
this is an issue that impacts one of our partners or a customer our advisory team is engaged with
t/bug
Something isn't working
User Story
A single user-facing feature. Can be grouped under an epic.
Milestone
Description
This issue is an organization of current issues/PRs/specs related to keyboard management. The keyboard management inside
Xamarin.Forms
was very patch work and for the most part completely broke accessibility. A lot of the keyboard "features" were not brought over to.NET MAUI
until we could assess the validity of the approach and ensure valid accessible platform experiences.Hitting Enter or Next on keyboard does not always move to next entry field when you have the
ReturnType
set toNext
Android
and will be fixed on an upcoming release.Software Keyboard covers the entry and should scroll the selected entry into view
Android
and will be fixed on an upcoming release.Software Keyboard does not open when Entry View's Focus is set to True Programmatically
Focus
opens the keyboard onAndroid
. The one difference here fromXF
is that we should key it off ofTextView.ShowSoftInputOnFocus
. If a user setsShowSoftInputOnFocus
to false on theAndroid
TextView
we won't pop open the keyboard.Soft Keyboard does not Close when Entry View's Focus is set to False Programmatically
XF
. In order for this to work focus has to go somewhere. InXF
the root page was set to focusable. This would cause thePageRenderer
to gain the focus. Making a non-interactive element focusable is hostile to keyboard users and anyone usingTalkBack
. If you want to unfocus an entry then you need to give focus to some other logically interactive element.Tapping off of an Entry unfocuses the entry and closes the keyboard
XF
this was achieved by making the root elements focusable and clickable. This behavior is hostile toTalkBack
users because it causes the Page to register as a clickable element. When a hard of seeing user would useTalkBack
the entire page would become selected and tell the user to "double tap to activate".iOS
because this behavior doesn't appear to break accessibility on iOS. Adding aUITapGestureRecognizer
to the underlying page doesn't appear to affectVoiceOver
UISwitch
UISwitch doesn't toggle the first time if you have VoiceOver enabled #11543. See how easily you can break accessibility in unexpected ways with things that seem harmless.Workarounds
Specs
#12004
The text was updated successfully, but these errors were encountered: