Skip to content

Commit

Permalink
make aria-hidden elements not focusable (#9314)
Browse files Browse the repository at this point in the history
  • Loading branch information
keylime-unicorn authored Nov 17, 2022
1 parent d68cd0c commit a65d4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NuGetGallery/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,12 @@
@if (Model.IsVerified.HasValue && Model.IsVerified.Value)
{
<span class="prefix-reserve-title" aria-hidden="true">
<img class="reserved-indicator" aria-hidden="true"
<img class="reserved-indicator" aria-hidden="true" tabindex="-1"
src="~/Content/gallery/img/reserved-indicator.svg"
@ViewHelpers.ImageFallback(Url.Absolute("~/Content/gallery/img/reserved-indicator-25x25.png"))
data-content="@Strings.ReservedNamespace_ReservedIndicatorTooltip" tabindex="0"
alt="@Strings.ReservedNamespace_ReservedIndicatorTooltip"/>
<a href="https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation" class="prefix-reserve-label" ari-hidden="true">
<a href="https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation" class="prefix-reserve-label" aria-hidden="true" tabindex="-1">
Prefix Reserved
</a>
</span>
Expand Down

0 comments on commit a65d4cf

Please sign in to comment.