Skip to content

Commit 35343bd

Browse files
author
Blake Morgan
authored
Accessibility tweaks/Release v1.3.7 (#481)
* Fix footer general link focus * Fix action button styles. * Run build * Update version * Run build
1 parent 4120d09 commit 35343bd

24 files changed

+107
-97
lines changed

components/byu-footer-action-button/byu-footer-action-button-common.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@
4545
text-decoration: none !important;
4646
}
4747

48+
@mixin footerActionButtonSlottedLinkFocus() {
49+
outline: solid 2px white !important;
50+
}
51+
4852
@mixin mobileFooterActionButton() {
4953
padding: 6.5px 0;
5054
font-size: 11px;
5155
line-height: 13px;
52-
}
56+
}

components/byu-footer-action-button/byu-footer-action-button-extras.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ byu-footer-action-button:not(.byu-component-rendered) > * {
1313
//byu-footer-action-button:not(:defined) a {
1414
byu-footer-action-button:not(.byu-component-rendered) a {
1515
@include footerActionButtonSlottedLink();
16-
}
16+
}
17+
18+
byu-footer-action-button:not(.byu-component-rendered) a:focus {
19+
@include footerActionButtonSlottedLinkFocus();
20+
}

components/byu-footer-action-button/byu-footer-action-button.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@
2121

2222
.wrapper ::slotted(a) {
2323
@include footerActionButtonSlottedLink();
24-
}
24+
}
25+
26+
.wrapper ::slotted(a:focus) {
27+
@include footerActionButtonSlottedLinkFocus();
28+
}

components/byu-footer-column/byu-footer-column-common.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@
7272
@mixin defaultContentLinkHover() {
7373
color: $navy !important;
7474
}
75+
76+
@mixin defaultContentLinkFocus() {
77+
outline: solid 2px $royal !important;
78+
}

components/byu-footer-column/byu-footer-column-extras.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ byu-footer-column:not(.byu-component-rendered) {
2626
#defaultContent a:hover {
2727
@include defaultContentLinkHover();
2828
}
29+
30+
#defaultContent a:focus {
31+
@include defaultContentLinkFocus();
32+
}
2933
}
3034

3135
byu-footer-column:not(.byu-component-rendered) [slot="header"] {
@@ -56,6 +60,10 @@ byu-footer-column a:hover {
5660
@include defaultContentLinkHover();
5761
}
5862

63+
byu-footer-column a:focus {
64+
@include defaultContentLinkFocus();
65+
}
66+
5967
@media (max-width: 1024px) {
6068
byu-footer-column a {
6169
@include mobileContentLink();
@@ -80,4 +88,4 @@ byu-footer-column a:hover {
8088
font-size: 12px !important;
8189
}
8290

83-
}
91+
}

components/byu-footer-column/byu-footer-column.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
@include defaultContentLinkHover();
3939
}
4040

41+
.content ::slotted(a:focus) {
42+
@include defaultContentLinkFocus();
43+
}
44+
4145
.content > a {
4246
@include defaultContentLink();
4347
}
@@ -50,14 +54,17 @@
5054
@include defaultContentLinkHover();
5155
}
5256

57+
.content > a:focus {
58+
@include defaultContentLinkFocus();
59+
}
60+
5361
@media (max-width: 1024px) {
5462
.content {
5563
::slotted(:not(byu-footer-action-button)) {
5664
@include mobileContentNotButton();
5765
}
58-
59-
}
66+
}
6067
.header ::slotted(*) {
6168
@include mobileHeaderSlotted();
62-
}
69+
}
6370
}

dist/2017-core-components.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/2017-core-components.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/byu-theme-components.css

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/byu-theme-components.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)