Skip to content

Commit 36cbb88

Browse files
author
Daniel Jacinto
authored
[A11y] Add screen reader description to More information and Add new links (#9477)
1 parent 177cd68 commit 36cbb88

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/NuGetGallery/Views/Shared/_ListPackage.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
@Model.ShortDescription
127127
@if (Model.IsDescriptionTruncated)
128128
{
129-
@Html.RouteLink("More information", RouteName.DisplayPackage, new { Model.Id, Model.Version }, new { @title = "More information about " + Model.Id + " package." })
129+
@Html.RouteLink("More information", RouteName.DisplayPackage, new { Model.Id, Model.Version }, new { @title = "More information about " + Model.Id + " package", @aria_label = "More information about " + Model.Id + " package" })
130130
}
131131
</div>
132132
</div>

src/NuGetGallery/Views/Users/Organizations.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Url,
1313
CurrentUser,
1414
false,
15-
@<text>Organizations&nbsp;<span aria-hidden="true" class="ms-font-xl organizations-divider">|</span>&nbsp;<a href="@Url.AddOrganization()" title="Add new organization."><span aria-hidden="true" class="ms-font-m ms-Icon ms-Icon--Add"></span>&nbsp;Add new</a></text>)
15+
@<text>Organizations&nbsp;<span aria-hidden="true" class="ms-font-xl organizations-divider">|</span>&nbsp;<a href="@Url.AddOrganization()" title="Add new organization" aria-label="Add new organization"><span aria-hidden="true" class="ms-font-m ms-Icon ms-Icon--Add"></span>&nbsp;Add new</a></text>)
1616
</div>
1717
</div>
1818
<hr class="breadcrumb-divider"/>

0 commit comments

Comments
 (0)