1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

feat(UI): add some accessibility labels to login pages

Fix #2101.
This commit is contained in:
Zetok Zalbavar 2016-11-08 18:02:09 +00:00
parent 5d6445065e
commit 953fe2416a
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -42,7 +42,7 @@
<bool>true</bool>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="newPage">
<layout class="QHBoxLayout" name="horizontalLayout_5">
@ -114,6 +114,9 @@
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="newUsername">
<property name="accessibleDescription">
<string>Username input field</string>
</property>
<property name="maxLength">
<number>64</number>
</property>
@ -130,7 +133,11 @@
</widget>
</item>
<item row="2" column="1">
<widget class="PasswordEdit" name="newPass"/>
<widget class="PasswordEdit" name="newPass">
<property name="accessibleDescription">
<string>Password input field, you can leave it empty (no password), or type at least 6 characters</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_8">
@ -143,7 +150,11 @@
</widget>
</item>
<item row="3" column="1">
<widget class="PasswordEdit" name="newPassConfirm"/>
<widget class="PasswordEdit" name="newPassConfirm">
<property name="accessibleDescription">
<string>Password confirmation field</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2">
<widget class="QProgressBar" name="passStrengthMeter">
@ -172,6 +183,9 @@
</item>
<item>
<widget class="QPushButton" name="createAccountButton">
<property name="accessibleDescription">
<string>Create a new profile button</string>
</property>
<property name="text">
<string>Create Profile</string>
</property>
@ -281,7 +295,14 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="loginUsernames"/>
<widget class="QComboBox" name="loginUsernames">
<property name="accessibleName">
<string>Profile list</string>
</property>
<property name="accessibleDescription">
<string>List of profiles</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="loginPasswordLabel">
@ -294,13 +315,20 @@
</widget>
</item>
<item>
<widget class="PasswordEdit" name="loginPassword"/>
<widget class="PasswordEdit" name="loginPassword">
<property name="accessibleDescription">
<string>Password input</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="autoLoginCB">
<property name="toolTip">
<string>If the profile does not have a password, qTox can skip the login screen</string>
</property>
<property name="accessibleDescription">
<string>Load automatically checkbox</string>
</property>
<property name="text">
<string>Load automatically</string>
</property>
@ -323,6 +351,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QPushButton" name="importButton">
<property name="accessibleDescription">
<string>Import profile</string>
</property>
<property name="text">
<string>Import</string>
</property>
@ -343,6 +374,12 @@
</item>
<item>
<widget class="QPushButton" name="loginButton">
<property name="accessibleName">
<string/>
</property>
<property name="accessibleDescription">
<string>Load selected profile button</string>
</property>
<property name="text">
<string>Load</string>
</property>
@ -382,6 +419,12 @@
<height>22</height>
</rect>
</property>
<property name="accessibleName">
<string/>
</property>
<property name="accessibleDescription">
<string>New profile creation page</string>
</property>
<property name="text">
<string>New Profile</string>
</property>
@ -395,6 +438,12 @@
<height>22</height>
</rect>
</property>
<property name="accessibleName">
<string>Load Profile</string>
</property>
<property name="accessibleDescription">
<string>Loading existing profile page</string>
</property>
<property name="text">
<string>Load Profile</string>
</property>