diff --git a/_build/templates/default/sass/_a11y.scss b/_build/templates/default/sass/_a11y.scss index 6c4bb2a882c..064d46ecdbe 100644 --- a/_build/templates/default/sass/_a11y.scss +++ b/_build/templates/default/sass/_a11y.scss @@ -20,3 +20,25 @@ } } } + +// skiplinks +.skiplinks { + position: fixed; + top: -100rem; + left: -100rem; + z-index: 99999; + width: 0; + height: 0; + + a { + &:focus, + &:active { + position: fixed; + top: 0; + left: 0; + padding: 1rem; + margin: 1rem; + background-color: white; + } + } +} diff --git a/_build/templates/default/sass/_dashboard.scss b/_build/templates/default/sass/_dashboard.scss index 6e14d19519e..e981c14ce30 100644 --- a/_build/templates/default/sass/_dashboard.scss +++ b/_build/templates/default/sass/_dashboard.scss @@ -174,7 +174,8 @@ } } - &:hover { + &:hover, + &:focus-within { .action-buttons { button { opacity: 1; diff --git a/_build/templates/default/sass/_tree.scss b/_build/templates/default/sass/_tree.scss index ab1b2e451e8..b8da8923242 100644 --- a/_build/templates/default/sass/_tree.scss +++ b/_build/templates/default/sass/_tree.scss @@ -334,7 +334,8 @@ } &:hover, - &:focus { + &:focus, + &:focus-within { .modx-tree-node-btn-create { opacity: 1.0; } diff --git a/manager/assets/modext/util/utilities.js b/manager/assets/modext/util/utilities.js index 51620f9b6f9..00371760026 100644 --- a/manager/assets/modext/util/utilities.js +++ b/manager/assets/modext/util/utilities.js @@ -345,7 +345,7 @@ Ext.override(Ext.tree.TreeNodeUI,{ elbowMarkup, iconMarkup, cb ? ('' : '/>')) : '', - '',renderer(a),"", '', ""].join(''); @@ -493,8 +493,8 @@ MODx.util.Format = { }, /** * Trim a set of characters from the beginning and/or ending of a string - * @param {String} string - * @param {String} charList + * @param {String} string + * @param {String} charList */ trimCharacters: function(string, charList = '', direction = 'both') { if (charList.length) { diff --git a/manager/templates/default/header.tpl b/manager/templates/default/header.tpl index 0f55a8dc60f..30d36631f67 100644 --- a/manager/templates/default/header.tpl +++ b/manager/templates/default/header.tpl @@ -77,6 +77,14 @@ +
+ +
+