Skip to content

Commit 20d8b83

Browse files
authored
fix(ui5-breadcrumbs): set aria-current to the focused element (#5214)
1 parent 3582127 commit 20d8b83

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/main/src/Breadcrumbs.hbs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333

3434
{{#if _endsWithCurrentLocationLabel}}
3535
<li class="ui5-breadcrumbs-current-location" @click="{{../_onLabelPress}}">
36-
<span aria-label="{{_currentLocationAccName}}" role="link" id="{{this._id}}-labelWrapper">
37-
<ui5-label
38-
aria-current="page">
36+
<span aria-current="page" aria-label="{{_currentLocationAccName}}" role="link" id="{{this._id}}-labelWrapper">
37+
<ui5-label>
3938
{{_currentLocationText}}
4039
</ui5-label>
4140
</span>

0 commit comments

Comments
 (0)