Skip to content

Commit 41c96ae

Browse files
authored
fix(Carousel): use visually-hidden class (#7393)
* fix(Carousel): use visually-hidden class * chore: bump version 10.1.5-beta01
1 parent 799d0b2 commit 41c96ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>10.1.4</Version>
4+
<Version>10.1.5-beta01</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/Carousel/Carousel.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@namespace BootstrapBlazor.Components
1+
@namespace BootstrapBlazor.Components
22
@inherits BootstrapModuleComponentBase
33
@attribute [BootstrapModuleAutoLoader(JSObjectReference = true)]
44

@@ -42,11 +42,11 @@
4242
{
4343
<a class="carousel-control-prev" data-bs-slide="prev" @onclick:preventDefault href="@TargetId">
4444
<i class="@PreviousIcon"></i>
45-
<span class="sr-only">Previous</span>
45+
<span class="visually-hidden">Previous</span>
4646
</a>
4747
<a class="carousel-control-next" data-bs-slide="next" @onclick:preventDefault href="@TargetId">
4848
<i class="@NextIcon"></i>
49-
<span class="sr-only">Next</span>
49+
<span class="visually-hidden">Next</span>
5050
</a>
5151
}
5252
</RenderTemplate>

0 commit comments

Comments
 (0)