Skip to content

Commit f5cefb6

Browse files
fix(styles): address additional PR comments
1 parent 123871b commit f5cefb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/styles/stories/Components/List/list/standard/search-results.example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</div>
1515
<div role="listbox" aria-label="Nine results are available in two groups.">
1616
<ul class="fd-list fd-list--navigation fd-list--search-results" role="group" aria-label="Recently Entered Elements / Top Rated">
17-
<li role="option" id="search-result-option-1" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
17+
<li role="option" id="search-result-option-1" tabindex="0" aria-selected="true" aria-label="Viewed Element - Selected" class="fd-list__item is-selected fd-list__item--interractive fd-list__item--suggestion">
1818
<i role="presentation" class="fd-list__icon sap-icon--history"></i>
1919
<span class="fd-list__title">Viewed Element</span>
2020
</li>

packages/styles/tests/__snapshots__/styles.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32393,7 +32393,7 @@ exports[`Check stories > Components/List/Standard > Story SearchResults > Should
3239332393
</div>
3239432394
<div role=\\"listbox\\" aria-label=\\"Nine results are available in two groups.\\">
3239532395
<ul class=\\"fd-list fd-list--navigation fd-list--search-results\\" role=\\"group\\" aria-label=\\"Recently Entered Elements / Top Rated\\">
32396-
<li role=\\"option\\" id=\\"search-result-option-1\\" tabindex=\\"0\\" class=\\"fd-list__item fd-list__item--interractive fd-list__item--suggestion\\">
32396+
<li role=\\"option\\" id=\\"search-result-option-1\\" tabindex=\\"0\\" aria-selected=\\"true\\" aria-label=\\"Viewed Element - Selected\\" class=\\"fd-list__item is-selected fd-list__item--interractive fd-list__item--suggestion\\">
3239732397
<i role=\\"presentation\\" class=\\"fd-list__icon sap-icon--history\\"></i>
3239832398
<span class=\\"fd-list__title\\">Viewed Element</span>
3239932399
</li>

0 commit comments

Comments
 (0)