File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -3631,3 +3631,19 @@ ul.corporate-members li {
3631
3631
}
3632
3632
}
3633
3633
}
3634
+
3635
+ // added for skip to main functionality
3636
+ .skip-link {
3637
+ position : absolute ;
3638
+ top : -5em ;
3639
+ z-index : 1 ;
3640
+ background : var (--body-bg );
3641
+ color : var (--link-color );
3642
+ border : 0.5em solid var (--primary );
3643
+ padding : 0.5em 2em ;
3644
+ transition : top 0.5s ease-out ;
3645
+
3646
+ & :focus {
3647
+ top : 0 ;
3648
+ }
3649
+ }
Original file line number Diff line number Diff line change 47
47
48
48
< body id ="{% block sectionid %}generic{% endblock %} " class ="{% block body_class %}{% endblock %} ">
49
49
50
+ < a href ="#main-content " class ="skip-link "> Skip to main content</ a >
50
51
{% include "includes/header.html" %}
51
52
52
53
< section class ="copy-banner ">
72
73
< div id ="billboard "> {% block billboard %}{% endblock %}</ div >
73
74
74
75
< div class ="container {% block layout_class %}{% endblock %} ">
75
- < main >
76
+ < main id =" main-content " >
76
77
77
78
{% block messages %}
78
79
{% if messages %}
You can’t perform that action at this time.
0 commit comments