Skip to content

Commit

Permalink
convert role attributes to alt attributes for reserved checkmarks (#8759
Browse files Browse the repository at this point in the history
)
  • Loading branch information
drewgillies committed Aug 27, 2021
1 parent fa195ba commit b99a267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NuGetGallery/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
<img class="reserved-indicator"
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" role="presentation"/>
data-content="@Strings.ReservedNamespace_ReservedIndicatorTooltip" tabindex="0" alt="@Strings.ReservedNamespace_ReservedIndicatorTooltip"/>
}
</h1>

Expand Down
2 changes: 1 addition & 1 deletion src/NuGetGallery/Views/Shared/_ListPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<img class="reserved-indicator"
src="~/Content/gallery/img/reserved-indicator.svg"
@ViewHelpers.ImageFallback(Url.Absolute("~/Content/gallery/img/reserved-indicator-20x20.png"))
data-content="@Strings.ReservedNamespace_ReservedIndicatorTooltip" tabindex="0" role="presentation"/>
data-content="@Strings.ReservedNamespace_ReservedIndicatorTooltip" tabindex="0" alt="@Strings.ReservedNamespace_ReservedIndicatorTooltip"/>
}

@if (showEditButton && (Model.CanEdit || Model.CanManageOwners || Model.CanUnlistOrRelist))
Expand Down

0 comments on commit b99a267

Please sign in to comment.