Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.8
-
None
-
Linux
Description
When setting the echoMode Property of a qml textfield to TextInput.Password or TextInput.PasswordEchoOnEdit the accessibility property 'name' of the textfield is empty.
The 'name' property should never by empty, otherwise the user can not be informed about the context a textfield is used for.
Details:
The accessibility property 'name' is empty if state contains the 'passwordEdit' flag (src/quick/items/qquickaccessibleattached_p.h::117). This flag is only set via the echoMode of qml textfield. I did not find any other places in qt-code which directly or indirectly alter 'passwordEdit' flag.
Fix:
I attached a patch which fixes the problem. The patch should not produce any side effects since the 'passwordEdit' flag is only set via the echMode property of a textfield.