Skip to content

Commit

Permalink
add informational comment
Browse files Browse the repository at this point in the history
  • Loading branch information
keylime-unicorn committed Jan 11, 2023
1 parent 73529fe commit fde2bb0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public ThirdPartyPackageManagerViewModel(string name, string contactUrl) : base(
{
ContactUrl = contactUrl;
AlertLevel = AlertLevel.Warning;
//The b tag adds an alert saying "warning" that is accessible to screen readers but not visible in the display
AlertMessage = "<b display=\"none\" aria-label=\"warning\"></b> The NuGet Team does not provide support for this client. Please contact its "
+ $"<a href=\"{contactUrl}\" aria-label=\"Contact the maintainers of the {name} client\">maintainers</a> for support.";
}
Expand Down

0 comments on commit fde2bb0

Please sign in to comment.