[#5439] hide passwords from accessibility services
This commit is contained in:
parent
7ea9e63195
commit
6e0d18f76d
|
@ -72,7 +72,8 @@
|
||||||
[components.common/logo styles/logo]]
|
[components.common/logo styles/logo]]
|
||||||
^{:key (str "step" step)}
|
^{:key (str "step" step)}
|
||||||
[react/view components.styles/flex
|
[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]
|
[input step error]
|
||||||
[react/text {:style styles/input-description}
|
[react/text {:style styles/input-description}
|
||||||
(get-in steps [step :input-description])]]
|
(get-in steps [step :input-description])]]
|
||||||
|
|
|
@ -59,7 +59,8 @@
|
||||||
[react/view styles/login-view
|
[react/view styles/login-view
|
||||||
[react/view styles/login-badge-container
|
[react/view styles/login-badge-container
|
||||||
[account-login-badge photo-path name]
|
[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
|
[text-input/text-input-with-label
|
||||||
{:label (i18n/label :t/password)
|
{:label (i18n/label :t/password)
|
||||||
:placeholder (i18n/label :t/password)
|
:placeholder (i18n/label :t/password)
|
||||||
|
|
|
@ -37,7 +37,8 @@
|
||||||
|
|
||||||
(defview password-input [password]
|
(defview password-input [password]
|
||||||
(letsubs [error [:get-in [:accounts/recover :password-error]]]
|
(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
|
[text-input/text-input-with-label
|
||||||
{:label (i18n/label :t/password)
|
{:label (i18n/label :t/password)
|
||||||
:placeholder (i18n/label :t/enter-password)
|
:placeholder (i18n/label :t/enter-password)
|
||||||
|
|
|
@ -81,7 +81,8 @@
|
||||||
:accessibility-label :signing-phrase-text}
|
:accessibility-label :signing-phrase-text}
|
||||||
signing-phrase]]
|
signing-phrase]]
|
||||||
[react/i18n-text {:style styles/signing-phrase-description :key message-label}]
|
[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
|
[react/text-input
|
||||||
{:auto-focus true
|
{:auto-focus true
|
||||||
:secure-text-entry true
|
:secure-text-entry true
|
||||||
|
|
Loading…
Reference in New Issue