@syncfusion/ej2-filemanager 33.1.45 → 33.1.47

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.
@@ -6574,14 +6574,16 @@ class BreadCrumbBar {
6574
6574
  const icon = createElement('span', { className: ICONS });
6575
6575
  addressbarLI.appendChild(icon);
6576
6576
  }
6577
- if (pathNamesLen - i !== 1) {
6578
- addressATag = createElement('a', { className: LIST_TEXT });
6579
- addressbarLI.setAttribute('tabindex', '0');
6580
- }
6581
- else {
6582
- addressATag = createElement('span', { className: LIST_TEXT });
6577
+ addressbarLI.setAttribute('tabindex', '0');
6578
+ addressbarLI.setAttribute('role', 'link');
6579
+ const pathLabel = pathNames.slice(0, i + 1).join(' / ');
6580
+ addressbarLI.setAttribute('aria-label', pathLabel);
6581
+ if (pathNamesLen - i === 1) {
6582
+ addressbarLI.setAttribute('aria-current', 'page');
6583
6583
  }
6584
6584
  id = '';
6585
+ addressATag = createElement('a', { className: LIST_TEXT });
6586
+ addressATag.setAttribute('role', 'presentation');
6585
6587
  addressATag.innerText = pathNames[i];
6586
6588
  addressbarLI.appendChild(addressATag);
6587
6589
  addressbarUL.appendChild(addressbarLI);