Skip to content

Commit 878d8a3

Browse files
authored
fix(ui5-breadcrumbs): remove role='link' from current page element (#12797)
Problem: The current page element was incorrectly set as a link despite being non-interactive. Solution: Removed the role="link" attribute from the current page element while preserving aria-current="page" to properly indicate the user's current location without suggesting it's an interactive link Fixes: #12780
1 parent 4938909 commit 878d8a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/main/src/BreadcrumbsTemplate.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export default function BreadcrumbsTemplate(this: Breadcrumbs) {
5252
<li class="ui5-breadcrumbs-current-location" onClick={this._onLabelPress}>
5353
<span
5454
id={`${this._id}-labelWrapper`}
55-
role="link"
5655
aria-current="page"
5756
aria-label={this._currentLocationAccName}
5857
>

0 commit comments

Comments
 (0)