vpat 18: added aria labels to inputs in settings (#3985)
This commit is contained in:
parent
687ba53afd
commit
d4905854eb
2 changed files with 8 additions and 7 deletions
|
@ -172,8 +172,9 @@
|
|||
</hbox>
|
||||
|
||||
<hbox style="display: flex; align-items: center;">
|
||||
<label value="&zotero.preferences.openurl.server;"/>
|
||||
<label id="openUrl-label" value="&zotero.preferences.openurl.server;"/>
|
||||
<html:input type="text" id="openURLServerField" style="flex: 1;"
|
||||
aria-labelledby="openURLServerField"
|
||||
oninput="Zotero_Preferences.General.onOpenURLCustomized();"
|
||||
preference="extensions.zotero.openURL.resolver"
|
||||
/>
|
||||
|
@ -198,8 +199,8 @@
|
|||
|
||||
<checkbox label="&zotero.preferences.automaticTags;" preference="extensions.zotero.automaticTags" native="true"/>
|
||||
<hbox align="center">
|
||||
<label value="&zotero.preferences.trashAutoEmptyDaysPre;"/>
|
||||
<html:input type="text" size="2" preference="extensions.zotero.trashAutoEmptyDays"/>
|
||||
<label id="trashAutoEmpty-label" value="&zotero.preferences.trashAutoEmptyDaysPre;"/>
|
||||
<html:input aria-labelledby="trashAutoEmpty-label" type="text" size="2" preference="extensions.zotero.trashAutoEmptyDays"/>
|
||||
<label value="&zotero.preferences.trashAutoEmptyDaysPost;"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
|
|
@ -30,15 +30,15 @@
|
|||
|
||||
<hbox>
|
||||
<html:div class="form-grid">
|
||||
<label value="&zotero.preferences.sync.username;"/>
|
||||
<html:input id="sync-username-textbox"
|
||||
<label id="username-label" value="&zotero.preferences.sync.username;"/>
|
||||
<html:input id="sync-username-textbox" aria-labelledby="username-label"
|
||||
onblur="Zotero_Preferences.Sync.trimUsername()"
|
||||
oninput="Zotero_Preferences.Sync.credentialsChange(event)"
|
||||
onchange="Zotero_Preferences.Sync.credentialsChange(event)"
|
||||
onkeypress="Zotero_Preferences.Sync.credentialsKeyPress(event)"/>
|
||||
|
||||
<label value="&zotero.preferences.sync.password;"/>
|
||||
<html:input id="sync-password" type="password"
|
||||
<label id="password-label" value="&zotero.preferences.sync.password;"/>
|
||||
<html:input id="sync-password" type="password" aria-labelledby="password-label"
|
||||
oninput="Zotero_Preferences.Sync.credentialsChange(event)"
|
||||
onchange="Zotero_Preferences.Sync.credentialsChange(event)"
|
||||
onkeypress="Zotero_Preferences.Sync.credentialsKeyPress(event)"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue