Skip to content

Commit b9e08e0

Browse files
authored
Change profile section aria label (#10384)
1 parent 7e29426 commit b9e08e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NuGetGallery/Views/Users/Profiles.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
var collaborators = (Model.User as Organization).Collaborators.Count();
8484

8585
<i class="ms-Icon ms-Icon--Group ms-font-xl" aria-hidden="true">&nbsp;</i>
86-
<a href="@Url.ManageMyOrganization(Model.Username)" aria-label="Manage this organization"><span class="ms-font-xxl">@administrators</span>&nbsp;Administrator@(administrators != 1 ? "s" : "")&nbsp;</a><span aria-hidden="true" class="ms-font-xxl organization-subtitle-divider">|</span><a href="@Url.ManageMyOrganization(Model.Username)" aria-label="Manage this organization">&nbsp;<span class="ms-font-xxl">@collaborators</span>&nbsp;Collaborator@(collaborators != 1 ? "s" : "")</a>
86+
<a href="@Url.ManageMyOrganization(Model.Username)" aria-label="@administrators administrator@(administrators != 1 ? "s" : "") manage@(administrators != 1 ? "" : "s") this organization"><span class="ms-font-xxl">@administrators</span>&nbsp;Administrator@(administrators != 1 ? "s" : "")&nbsp;</a><span aria-hidden="true" class="ms-font-xxl organization-subtitle-divider">|</span><a href="@Url.ManageMyOrganization(Model.Username)" aria-label="@collaborators collaborator@(collaborators != 1 ? "s" : "") manage@(collaborators != 1 ? "" : "s") this organization">&nbsp;<span class="ms-font-xxl">@collaborators</span>&nbsp;Collaborator@(collaborators != 1 ? "s" : "")</a>
8787
}
8888
else if (CurrentUser.MatchesUser(Model.User) && Model.User.Organizations.Any())
8989
{
@@ -111,4 +111,4 @@
111111

112112
@section BottomScripts {
113113
@Scripts.Render("~/Scripts/gallery/page-list-packages.min.js")
114-
}
114+
}

0 commit comments

Comments
 (0)