Skip to content

Commit 123cc8e

Browse files
authored
Merge pull request #241 from developit/link-color-a11y
Fix link :active/:hover color accessibility in the examples
2 parents 5c3aa46 + 969fb37 commit 123cc8e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/full/src/components/header/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
text-align: center;
3535
background: rgba(255,255,255,0);
3636
text-decoration: none;
37-
color: #EEE;
37+
color: #FFF;
3838
will-change: background-color;
3939
}
4040

4141
.header nav a:hover,
4242
.header nav a:active {
43-
background: rgba(255,255,255,0.3);
43+
background: rgba(0,0,0,0.2);
4444
}
4545

4646
.header nav a.active {
47-
background: rgba(255,255,255,0.4);
47+
background: rgba(0,0,0,0.4);
4848
}

examples/root/components/header/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
text-align: center;
3535
background: rgba(255,255,255,0);
3636
text-decoration: none;
37-
color: #EEE;
37+
color: #FFF;
3838
will-change: background-color;
3939
}
4040

4141
.header nav a:hover,
4242
.header nav a:active {
43-
background: rgba(255,255,255,0.3);
43+
background: rgba(0,0,0,0.2);
4444
}
4545

4646
.header nav a.active {
47-
background: rgba(255,255,255,0.4);
47+
background: rgba(0,0,0,0.4);
4848
}

0 commit comments

Comments
 (0)