Skip to content

Commit 2973e54

Browse files
authored
[A11y]Fix some minor text contrast issues. (#8164)
* Darken link colour with darker background. * Fix contrast on reset for advanced search
1 parent 48058f7 commit 2973e54

5 files changed

Lines changed: 27 additions & 1 deletion

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/dist/css/bootstrap.css

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/mixins/background-variant.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
.bg-variant(@color) {
44
background-color: @color;
5+
& a {
6+
color: darken(@link-color, 10%);
7+
}
8+
59
a&:hover,
610
a&:focus {
711
background-color: darken(@color, 10%);

src/Bootstrap/less/theme/page-list-packages.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
margin-left: 10px;
8484
margin-right: 10px;
8585
}
86+
87+
#reset-advanced-search {
88+
color: darken(@link-color, 10%);
89+
}
8690
}
8791

8892
@media (min-width: @screen-sm) {

src/NuGetGallery/Views/Packages/DisplayPackage.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@
956956
linkText: "Reflow package",
957957
actionName: "Reflow",
958958
controllerName: "Packages",
959-
role: string.Empty,
959+
role: "button",
960960
formValues: new Dictionary<string, string>
961961
{
962962
{ "id", Model.Id },

0 commit comments

Comments
 (0)