Skip to content

Commit 5499bc2

Browse files
authored
Change tabindex to 0 (#4398)
1 parent f8f2269 commit 5499bc2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Core/Components/ProfileMenu/FluentProfileMenu.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@namespace Microsoft.FluentUI.AspNetCore.Components
22
@inherits FluentComponentBase
33

4-
<div id="@Id" class="@ClassValue" style="@StyleValue" top-corner="@TopCorner" tabindex="1"
4+
<div id="@Id" class="@ClassValue" style="@StyleValue" top-corner="@TopCorner" tabindex="0"
55
@onclick="@ProfileMenuClickedAsync" @onkeydown="@ProfileMenuKeyDownAsync" >
66
@StartTemplate
77
<FluentPersona Id="@PersonaId"

tests/Core/ProfileMenu/FluentProfileMenuTests.FluentProfileMenu_Customized.verified.razor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div id="xxx" class="fluent-profile-menu" tabindex="1" blazor:onclick="1" blazor:onkeydown="2" b-rsm9d6pikk="">
2+
<div id="xxx" class="fluent-profile-menu" tabindex="0" blazor:onclick="1" blazor:onkeydown="2" b-rsm9d6pikk="">
33
<div id="xxx" class="fluent-persona" style="height: inherit;" position="end" b-n7zog0zvqi="">
44
<div class="initials" b-n7zog0zvqi="">
55
<div class="fluent-presence-badge" title="" b-1o8tp31nhy="">
@@ -21,4 +21,4 @@
2121
</div>
2222
</div>
2323
</div>
24-
</fluent-anchored-region>
24+
</fluent-anchored-region>

tests/Core/ProfileMenu/FluentProfileMenuTests.FluentProfileMenu_Default.verified.razor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div id="xxx" class="fluent-profile-menu" tabindex="1" blazor:onclick="1" blazor:onkeydown="2" b-rsm9d6pikk="">
2+
<div id="xxx" class="fluent-profile-menu" tabindex="0" blazor:onclick="1" blazor:onkeydown="2" b-rsm9d6pikk="">
33
<div id="xxx" class="fluent-persona" style="height: inherit;" position="end" b-n7zog0zvqi="">
44
<div class="initials" b-n7zog0zvqi="">
55
<div class="fluent-presence-badge" title="I'm available" b-1o8tp31nhy="">
@@ -56,4 +56,4 @@ <h5 part="fullname" typo="header" class="fluent-typography" style="font-weight:
5656
</div>
5757
</div>
5858
</div>
59-
</fluent-anchored-region>
59+
</fluent-anchored-region>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div id="xxx" class="fluent-profile-menu" tabindex="1" blazor:onclick="1" blazor:onkeydown="2" b-rsm9d6pikk="">Before
2+
<div id="xxx" class="fluent-profile-menu" tabindex="0" blazor:onclick="1" blazor:onkeydown="2" b-rsm9d6pikk="">Before
33
<div id="xxx" class="fluent-persona" style="height: inherit;" position="end" b-n7zog0zvqi="">
44
<div class="initials" b-n7zog0zvqi="">
55
<div class="fluent-presence-badge" title="" b-1o8tp31nhy="">
@@ -9,4 +9,4 @@
99
</div>
1010
</div>
1111
</div>
12-
After</div>
12+
After</div>

0 commit comments

Comments
 (0)