Skip to content

Commit f166ab2

Browse files
committed
Missed adding 3 files to the previous commit.
1 parent 85b2e0a commit f166ab2

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

assets/js/Services/Html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export function processStaticHtml(nodes, settings) {
311311
}
312312

313313
export function getIssueHtml(issue) {
314-
return (issue.newHtml) ? issue.newHtml : issue.sourceHtml
314+
return (issue.newHtml && issue.status.toString() !== "0") ? issue.newHtml : issue.sourceHtml
315315
}
316316

317317
export function getAccessibleName(element) {

assets/js/Services/Ufixit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Video from '../Components/Forms/Video'
1616
import UfixitReviewOnly from '../Components/Forms/UfixitReviewOnly'
1717

1818
// These form names strictly match the translation keys in the language files (e.g. en.json).
19-
const formNames = {
19+
export const formNames = {
2020
ALT_TEXT: 'alt_text',
2121
ANCHOR_TEXT: 'anchor_text',
2222
ARIA_ROLE: 'aria_role',

translations/en.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
"fix.label.no_saving": "Editing and Saving Unavailable",
147147
"fix.label.reload_content": "Reloading Updated Content...",
148148
"fix.label.or": "Or",
149+
"fix.label.and_or": "And/Or",
149150
"fix.msg.no_error_preview": "This accessibility barrier cannot be found, likely because the content has been changed. No areas will be highlighted and no changes can be made inside of UDOIT.",
150151
"fix.button.download_file": "Download File",
151152
"fix.button.view_in_lms": "View In LMS",
@@ -238,10 +239,10 @@
238239
"form.msg.success_replaced": "File replaced.",
239240
"form.msg.not_fixed": "Issue has not been fixed.",
240241

241-
"form.alt_text.label.text": "New Alt Text",
242+
"form.alt_text.label.text": "Describe Image Content Clearly",
242243
"form.alt_text.label.mark_decorative": "Mark Image as Decorative",
243244
"form.alt_text.feedback.characters": "{current} of {total} Characters",
244-
"form.alt_text.msg.text_empty": "Alt text cannot be empty",
245+
"form.alt_text.msg.text_empty": "Alt text is required if an image is not decorative",
245246
"form.alt_text.msg.text_too_long": "Alt text is too long",
246247
"form.alt_text.msg.text_has_file_extension": "Alt text cannot contain file extensions",
247248
"form.alt_text.msg.text_matches_filename": "Alt text cannot match file name",
@@ -253,17 +254,18 @@
253254
"rule.desc.img_alt_redundant": "",
254255
"rule.desc.img_alt_valid": "",
255256

256-
"form.anchor.link_text": "New Link Text",
257-
"form.anchor.delete_link": "Delete this link completely instead",
258-
"form.anchor.msg.text_descriptive": "This text is not descriptive",
257+
"form.anchor.link_text": "Descriptive Label for Link",
258+
"form.anchor.delete_link": "Delete the Link Completely Instead",
259+
"form.anchor.msg.text_descriptive": "Link text must be descriptive",
259260
"form.anchor.msg.text_empty": "Link text cannot be empty",
260261

261262
"form.aria_role.feedback.no_tag": "The HTML tag could not be computed.",
262263
"form.aria_role.feedback.no_roles": "No valid ARIA roles for <{tagName}>",
263-
"form.aria_role.label.select": "Select a Valid ARIA Role",
264+
"form.aria_role.label.select": "Select a Valid ARIA Role",
264265
"form.aria_role.label.none_selected": "No ARIA Role Selected",
265266
"form.aria_role.label.remove": "Remove ARIA Role",
266267

268+
"form.contrast.label.adjust": "Adjust the Text and/or Background Colors to Increase Contrast",
267269
"form.contrast.label.darken": "Darken",
268270
"form.contrast.label.lighten": "Lighten",
269271
"form.contrast.label.bolden_text": "Make Text Bold",
@@ -277,7 +279,7 @@
277279
"form.contrast.feedback.invalid": "Invalid Ratio",
278280
"form.contrast.feedback.valid": "Valid Ratio",
279281

280-
"form.embedded_content_title.label.text": "New Content Label",
282+
"form.embedded_content_title.label.text": "Descriptive Label for Highlighted Content",
281283
"form.embedded_content_title.msg.text_empty": "Label cannot be empty",
282284
"form.embedded_content_title.msg.text_unique": "Labels must be unique",
283285
"rule.desc.applet_alt_exists": "",
@@ -287,9 +289,11 @@
287289
"rule.desc.media_alt_exists": "",
288290
"rule.desc.object_text_exists": "",
289291

290-
"form.emphasis.label.bold": "Make this text bold",
291-
"form.emphasis.label.italic": "Make this text italicized",
292-
"form.emphasis.msg.required": "Text must be bold or italicized",
292+
"form.emphasis.label.select_emphasis": "Select Additional Ways to Distinguish Text",
293+
"form.emphasis.label.bold": "Make this Text Bold",
294+
"form.emphasis.label.italic": "Make this Text Italicized",
295+
"form.emphasis.label.remove_color": "Remove Color Emphasis",
296+
"form.emphasis.msg.required": "Emphasized text should be bold or italicized",
293297

294298
"form.file.label.replace": "Replace File",
295299
"form.file.label.replace.desc": "Replace the current version of this file here.",
@@ -310,15 +314,15 @@
310314
"rule.desc.heading_markup_misuse": "This text is marked as a heading, but does not appear to be one. If it is, you may ignore this issue and mark it as reviewed. If it is not a heading, remove the heading level.",
311315
"rule.desc.text_block_heading": "This text seems to be a heading, but is not marked as one. If it is a heading, select an appropriate heading level. If not, you may remove any styling or mark it as reviewed.",
312316

313-
"form.label.label.text": "New Content Label",
317+
"form.label.label.text": "Descriptive Label for Highlighted Area",
314318
"form.label.msg.text_empty": "Label cannot be empty",
315319
"form.label.msg.text_unique": "Labels must be unique",
316320

317321
"form.link.new_link": "New Link",
318322
"form.link.msg.link_empty": "Link cannot be empty",
319323
"rule.desc.a_text_purpose": "",
320324

321-
"form.sensory_misuse.label.potential": "Potential Sensory Words:",
325+
"form.sensory_misuse.label.potential": "Potential Sensory Words (Click to Highlight)",
322326
"rule.desc.text_sensory_misuse": "Make sure that there aren't any instructions that depend on these sensory words: {sensoryWords}",
323327

324328
"form.table_headers.label.select": "Select Table Headers",

0 commit comments

Comments
 (0)