[#5439] hide passwords from accessibility services

This commit is contained in:
Roman Volosovskyi 2018-08-16 20:05:01 +03:00
parent 7ea9e63195
commit 6e0d18f76d
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
4 changed files with 8 additions and 4 deletions

View File

@ -72,7 +72,8 @@
[components.common/logo styles/logo]]
^{:key (str "step" step)}
[react/view components.styles/flex
[react/view {:style styles/input-container}
[react/view {:style styles/input-container
:important-for-accessibility :no-hide-descendants}
[input step error]
[react/text {:style styles/input-description}
(get-in steps [step :input-description])]]

View File

@ -59,7 +59,8 @@
[react/view styles/login-view
[react/view styles/login-badge-container
[account-login-badge photo-path name]
[react/view styles/password-container
[react/view {:style styles/password-container
:important-for-accessibility :no-hide-descendants}
[text-input/text-input-with-label
{:label (i18n/label :t/password)
:placeholder (i18n/label :t/password)

View File

@ -37,7 +37,8 @@
(defview password-input [password]
(letsubs [error [:get-in [:accounts/recover :password-error]]]
[react/view {:margin-top 10}
[react/view {:style {:margin-top 10}
:important-for-accessibility :no-hide-descendants}
[text-input/text-input-with-label
{:label (i18n/label :t/password)
:placeholder (i18n/label :t/enter-password)

View File

@ -81,7 +81,8 @@
:accessibility-label :signing-phrase-text}
signing-phrase]]
[react/i18n-text {:style styles/signing-phrase-description :key message-label}]
[react/view styles/password-container
[react/view {:style styles/password-container
:important-for-accessibility :no-hide-descendants}
[react/text-input
{:auto-focus true
:secure-text-entry true