@progress/kendo-angular-common 20.1.0-develop.9 → 20.1.0

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.
@@ -121,9 +121,9 @@ export class ToggleButtonTabStopDirective {
121
121
  const el = this.hostEl.nativeElement;
122
122
  const tabindex = el.querySelector('button:not([tabindex^="-"]), input:not([tabindex^="-"])')?.getAttribute('tabindex');
123
123
  this.button = el.querySelector('.k-input-button, .k-split-button-arrow');
124
+ this.button && this.renderer.removeAttribute(this.button, 'role');
124
125
  this.button && this.renderer.setAttribute(this.button, 'tabindex', tabindex);
125
126
  this.button && this.renderer.setAttribute(this.button, 'aria-label', this.toggleButtonAriaLabel);
126
- this.button && this.renderer.removeAttribute(this.button, 'aria-hidden');
127
127
  if (!this.observer) {
128
128
  this.initializeObserver(el);
129
129
  }
@@ -131,8 +131,8 @@ export class ToggleButtonTabStopDirective {
131
131
  this.addListeners();
132
132
  }
133
133
  deactivateButton() {
134
+ this.button && this.renderer.setAttribute(this.button, 'role', 'presentation');
134
135
  this.button && this.renderer.setAttribute(this.button, 'tabindex', '-1');
135
- this.button && this.renderer.setAttribute(this.button, 'aria-hidden', 'true');
136
136
  this.button && this.renderer.removeAttribute(this.button, 'aria-label');
137
137
  this.removeListeners();
138
138
  this.observer && this.observer.disconnect();
@@ -1481,9 +1481,9 @@ class ToggleButtonTabStopDirective {
1481
1481
  const el = this.hostEl.nativeElement;
1482
1482
  const tabindex = el.querySelector('button:not([tabindex^="-"]), input:not([tabindex^="-"])')?.getAttribute('tabindex');
1483
1483
  this.button = el.querySelector('.k-input-button, .k-split-button-arrow');
1484
+ this.button && this.renderer.removeAttribute(this.button, 'role');
1484
1485
  this.button && this.renderer.setAttribute(this.button, 'tabindex', tabindex);
1485
1486
  this.button && this.renderer.setAttribute(this.button, 'aria-label', this.toggleButtonAriaLabel);
1486
- this.button && this.renderer.removeAttribute(this.button, 'aria-hidden');
1487
1487
  if (!this.observer) {
1488
1488
  this.initializeObserver(el);
1489
1489
  }
@@ -1491,8 +1491,8 @@ class ToggleButtonTabStopDirective {
1491
1491
  this.addListeners();
1492
1492
  }
1493
1493
  deactivateButton() {
1494
+ this.button && this.renderer.setAttribute(this.button, 'role', 'presentation');
1494
1495
  this.button && this.renderer.setAttribute(this.button, 'tabindex', '-1');
1495
- this.button && this.renderer.setAttribute(this.button, 'aria-hidden', 'true');
1496
1496
  this.button && this.renderer.removeAttribute(this.button, 'aria-label');
1497
1497
  this.removeListeners();
1498
1498
  this.observer && this.observer.disconnect();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "20.1.0-develop.9",
3
+ "version": "20.1.0",
4
4
  "description": "Kendo UI for Angular - Utility Package",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,7 +23,7 @@
23
23
  "@progress/kendo-common": "^1.0.1",
24
24
  "@progress/kendo-draggable": "^3.0.2",
25
25
  "tslib": "^2.3.1",
26
- "@progress/kendo-angular-schematics": "20.1.0-develop.9"
26
+ "@progress/kendo-angular-schematics": "20.1.0"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"