seb-mac icon indicating copy to clipboard operation
seb-mac copied to clipboard

iOS: Auto-capitalization is not disabled

Open Krisell opened this issue 5 years ago • 3 comments

When typing with the iPad keyboard in a textarea or editable div, the autocapitalization is not disabled, even though AAC is used. This is in conflict with the documentation on AAC by Apple (https://support.apple.com/en-us/HT204775), and might be a bug in iOS.

Steps to reproduce:

  • Open SEB in AAC mode and start typing in a textarea.
  • Type a period, . and press spacebar.
  • The capitalization is then auto-activated, capitalizing the first letter.

Tested on iOS 13.1.2

There is an HTML-attribute, autocapitalization, which can be set to off/none to inform virtual keyboards not to auto-capitalize, and this seems to work outside SEB, but the WebView in SEB does not seem to see this.

Disabling auto-capitalization on the iPad (Settings – General – Keyboard) works as expected.

I have not been able to test with a physical keyboard, but auto-capitalization may be disabled by default then, mitigating this problem for assessment situations.

Krisell avatar Jan 22 '20 11:01 Krisell

Didn’t reproduce this yet, but it would quite clearly be an iOS bug, maybe a regression on iOS 13, as I had the feeling it worked once.

Isn’t there also a HTML attribute for disabling auto correction/spell checking, maybe if that’s set, then auto-capitalization is also disabled?

If possible please file an iOS bug with Apple: https://feedbackassistant.apple.com/welcome

danschlet avatar Jan 22 '20 12:01 danschlet

Bug report has been filed with Apple.

We disable all kinds of assistance (e.g. spell-checking) in HTML so that did not help in this case.

~~I can also confirm that this issue has been introduced in an iOS-update. It works as expected on my ancient iPad running iOS 9.3.5.~~

Correction: The incorrect behavior is present in iOS 9.3.5 as well (I had manually disabled auto-capitalization the first time I tried).

Krisell avatar Jan 22 '20 12:01 Krisell

This might have been fixed in SEB 3.0 for iOS. I also did some changes in the common code in SEB 3.0 for macOS, which will be used also in SEB 3.1 for iOS, so if 3.0 doesn't fix it, maybe 3.1 will. Also the behavior might be different in the modern WebView, if that is used (see restrictions in settings).

danschlet avatar Sep 19 '21 09:09 danschlet