Moved the accessibiity texts created in #6315 and #5760 into visuallyhidden section to comply with other commits (#6978)

This commit is contained in:
Rachel Breeze
2020-01-14 19:35:46 +00:00
committed by Kenn Jacobsen
parent 8829d7fbca
commit d841fdcde0
5 changed files with 2410 additions and 2410 deletions

View File

@@ -17,8 +17,8 @@
scope.isNew = scope.content.state == "NotCreated";
localizationService.localizeMany([
scope.isNew ? "placeholders_a11yCreateItem" : "placeholders_a11yEdit",
"placeholders_a11yName",
scope.isNew ? "visuallyHiddenTexts_createItem" : "visuallyHiddenTexts_edit",
"visuallyHiddenTexts_name",
scope.isNew ? "general_new" : "general_edit"]
).then(function (data) {

View File

@@ -233,8 +233,8 @@ Use this directive to construct a header inside the main editor window.
editorState.current.id === "-1";
var localizeVars = [
scope.isNew ? "placeholders_a11yCreateItem" : "placeholders_a11yEdit",
"placeholders_a11yName",
scope.isNew ? "visuallyHiddenTexts_createItem" : "visuallyHiddenTexts_edit",
"visuallyHiddenTexts_name",
scope.isNew ? "general_new" : "general_edit"
];