@openui5/sap.tnt 1.84.25 → 1.84.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.txt CHANGED
@@ -581,7 +581,7 @@ License: MIT License
581
581
  <copyright holders> = Bjarke Walling
582
582
  <year> = 2014
583
583
 
584
- Component: URI.js 1.19.10
584
+ Component: URI.js 1.19.11
585
585
  Licensor: Rodney Rehm
586
586
  Website: http://github.com/medialize/URI.js/
587
587
  License: MIT License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.84.25",
3
+ "version": "1.84.26",
4
4
  "description": "OpenUI5 UI Library sap.tnt",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.84.25",
18
- "@openui5/sap.ui.core": "1.84.25"
17
+ "@openui5/sap.m": "1.84.26",
18
+ "@openui5/sap.ui.core": "1.84.26"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.84.25</version>
9
+ <version>1.84.26</version>
10
10
 
11
11
  <documentation>SAPUI5 library with responsive controls.</documentation>
12
12
 
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.84.25
50
+ * @version 1.84.26
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.84.25
44
+ * @version 1.84.26
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -32,7 +32,7 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
32
32
  * @extends sap.ui.core.Item
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.84.25
35
+ * @version 1.84.26
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -935,21 +935,26 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
935
935
  this._updateAccessibilityText();
936
936
  };
937
937
 
938
-
939
938
  NavigationListItem.prototype._updateAccessibilityText = function() {
940
939
  var invisibleText = NavigationListItem._getInvisibleText(),
941
940
  navList = this.getNavigationList(),
942
941
  bundle = this._resourceBundleMLib,
943
- accType = navList.getExpanded() ? bundle.getText("ACC_CTR_TYPE_TREEITEM") : '',
944
942
  $focusedItem = this._getAccessibilityItem(),
945
- mPosition = this._getAccessibilityPosition(),
946
- itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
947
943
  selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
948
- itemText = navList.getExpanded() ? this.getText() : "",
949
- text = accType + " " + itemPosition + " " + selected + " " + itemText;
944
+ text = selected;
950
945
 
951
- invisibleText.setText(text);
946
+ // for role "treeitem" we have to manually describe the role and position
947
+ if (navList.getExpanded()) {
948
+ var accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
949
+ mPosition = this._getAccessibilityPosition(),
950
+ itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
951
+ itemText = this.getText();
952
952
 
953
+ itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]);
954
+ text = accType + " " + selected + " " + itemText + " " + itemPosition;
955
+ }
956
+
957
+ invisibleText.setText(text);
953
958
  $focusedItem.addAriaLabelledBy(invisibleText.getId());
954
959
  };
955
960
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.84.25
43
+ * @version 1.84.26
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -121,7 +121,7 @@ sap.ui.define([
121
121
  * @implements sap.tnt.IToolHeader
122
122
  *
123
123
  * @author SAP SE
124
- * @version 1.84.25
124
+ * @version 1.84.26
125
125
  *
126
126
  * @constructor
127
127
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.84.25
27
+ * @version 1.84.26
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.84.25
33
+ * @version 1.84.26
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -17,14 +17,14 @@ sap.ui.define(["sap/ui/core/library", "sap/m/library"],
17
17
  * @namespace
18
18
  * @name sap.tnt
19
19
  * @author SAP SE
20
- * @version 1.84.25
20
+ * @version 1.84.26
21
21
  * @public
22
22
  */
23
23
 
24
24
  // delegate further initialization of this library to the Core
25
25
  sap.ui.getCore().initLibrary({
26
26
  name : "sap.tnt",
27
- version: "1.84.25",
27
+ version: "1.84.26",
28
28
  dependencies : ["sap.ui.core", "sap.m"],
29
29
  designtime: "sap/tnt/designtime/library.designtime",
30
30
  types: [