[ACS-9225] serious a11y testing side bar elements must meet minimum color contrast ratio thresholds (#4425)

* [ACS-9225] Fixed color contrast ratio for sidebar elements

* [ACS-9225] Fixed color contrast ratio for sidebar elements
This commit is contained in:
AleksanderSklorz
2025-03-03 11:09:10 +01:00
committed by GitHub
parent 553ecf8cea
commit 4e37f194ac
3 changed files with 14 additions and 9 deletions

View File

@@ -82,11 +82,20 @@
user-select: none;
.aca-action-button__label {
color: var(--theme-action-button-text-color);
color: var(--theme-text-light-color);
}
&:hover .aca-action-button__label {
color: var(--theme-sidenav-active-text-color);
color: var(--theme-sidenav-hovered-text-color);
}
.aca-action-button--active {
color: var(--adf-sidenav-active-text-color);
background: var(--theme-selected-background-color);
.aca-action-button__label {
color: var(--adf-sidenav-active-text-color);
}
}
}
@@ -114,11 +123,6 @@
overflow: hidden;
text-overflow: ellipsis;
}
&--active {
color: var(--theme-sidenav-active-text-color);
background: var(--theme-selected-background-color);
}
}
.aca-full-width {