Merge pull request #9698 from edx/clrux/lms-global-sr-contrast
LMS: setting fore/background colors for all sr elements
This commit is contained in:
@@ -329,6 +329,7 @@ mark {
|
||||
// UI - semantically hide text
|
||||
.sr {
|
||||
@extend %text-sr;
|
||||
@extend %a11y-ensure-contrast;
|
||||
}
|
||||
|
||||
// UI - skipnav
|
||||
|
||||
@@ -135,6 +135,12 @@
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
// extends - ensures proper contrast for automated checkers
|
||||
%a11y-ensure-contrast {
|
||||
background: $white;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
// extends - UI - removes list styling/spacing when using uls, ols for navigation and less content-centric cases
|
||||
%ui-no-list {
|
||||
list-style: none;
|
||||
|
||||
Reference in New Issue
Block a user