vpat 26: quickformat more detailed instructions (#4004)
This commit is contained in:
parent
76a9b58914
commit
1dbbb708a7
3 changed files with 13 additions and 4 deletions
|
@ -165,6 +165,7 @@ var Zotero_QuickFormat = new function () {
|
||||||
let menuitem = document.getElementById(menuitemID);
|
let menuitem = document.getElementById(menuitemID);
|
||||||
if (menuitem && menuitem.getAttribute("hidden") != "true") {
|
if (menuitem && menuitem.getAttribute("hidden") != "true") {
|
||||||
document.getElementById("zotero-icon").removeAttribute("disabled");
|
document.getElementById("zotero-icon").removeAttribute("disabled");
|
||||||
|
document.getElementById("input-description").setAttribute("data-l10n-args", `{ "dialogMenu":"active"}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Nodes for citation properties panel
|
// Nodes for citation properties panel
|
||||||
|
@ -1078,6 +1079,7 @@ var Zotero_QuickFormat = new function () {
|
||||||
bubble.setAttribute("role", "button");
|
bubble.setAttribute("role", "button");
|
||||||
bubble.setAttribute("tabindex", "0");
|
bubble.setAttribute("tabindex", "0");
|
||||||
bubble.setAttribute("aria-describedby", "bubble-description");
|
bubble.setAttribute("aria-describedby", "bubble-description");
|
||||||
|
bubble.setAttribute("aria-haspopup", true);
|
||||||
bubble.className = "citation-dialog bubble";
|
bubble.className = "citation-dialog bubble";
|
||||||
// VoiceOver works better without it
|
// VoiceOver works better without it
|
||||||
if (!Zotero.isMac) {
|
if (!Zotero.isMac) {
|
||||||
|
|
|
@ -87,7 +87,8 @@
|
||||||
</panel>
|
</panel>
|
||||||
<panel id="citation-properties" type="arrow" orient="vertical"
|
<panel id="citation-properties" type="arrow" orient="vertical"
|
||||||
onkeydown="Zotero_QuickFormat.onPanelKeyPress(event)"
|
onkeydown="Zotero_QuickFormat.onPanelKeyPress(event)"
|
||||||
onpopuphidden="Zotero_QuickFormat.onItemPopoverClosed(event)">
|
onpopuphidden="Zotero_QuickFormat.onItemPopoverClosed(event)"
|
||||||
|
role="dialog">
|
||||||
<vbox flex="1">
|
<vbox flex="1">
|
||||||
<description id="citation-properties-title" tabindex="1"/>
|
<description id="citation-properties-title" tabindex="1"/>
|
||||||
<hbox id="citation-properties-info" tabindex="2"/>
|
<hbox id="citation-properties-info" tabindex="2"/>
|
||||||
|
|
|
@ -468,9 +468,15 @@ toggle-preview =
|
||||||
*[unknown] Toggle
|
*[unknown] Toggle
|
||||||
} Attachment Preview
|
} Attachment Preview
|
||||||
|
|
||||||
quickformat-aria-bubble = Press Down Arrow to open citation properties.
|
quickformat-general-instructions = Use Left/Right arrows to navigate the entries of this citation. {
|
||||||
quickformat-aria-input = Type your search term. Use Down Arrow and Up Arrow to navigate the search results.
|
$dialogMenu ->
|
||||||
quickformat-aria-item = Press { return-or-enter } to select this item. Press Tab to return to the search field.
|
[active] Press Shift-Tab to focus the dialog's menu.
|
||||||
|
*[other] { "" }
|
||||||
|
} Press { return-or-enter } to save edits to this citation. Press Escape to discard the changes and close the dialog.
|
||||||
|
|
||||||
|
quickformat-aria-bubble = Item included in this citation. Press Down Arrow to open a dialog with citation properties to add details. { quickformat-general-instructions }
|
||||||
|
quickformat-aria-input = Citation item search input. Type to search for an item to include in this citation. Then Press Tab to focus and navigate the list of search results to add to this citation. { quickformat-general-instructions }
|
||||||
|
quickformat-aria-item = Press { return-or-enter } to add this item to the citation. Press Tab to go back to the search field.
|
||||||
quickformat-accept =
|
quickformat-accept =
|
||||||
.tooltiptext = Save edits to this citation
|
.tooltiptext = Save edits to this citation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue