Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D8CORE-2536: adding aria-label #716

Merged
merged 13 commits into from
Sep 17, 2020
1,910 changes: 1,909 additions & 1 deletion core/dist/css/decanter-grid.css

Large diffs are not rendered by default.

7,088 changes: 7,086 additions & 2 deletions core/dist/css/decanter.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions core/dist/js/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@
"../assets/plus-white.svg": "../assets/plus-white.svg",
"../assets/video.svg": "../assets/video.svg",
"decanter-grid.css": "../css/decanter-grid.css",
"decanter-grid.css.map": "../css/decanter-grid.css.map",
"decanter-no-markup.js": "decanter-no-markup.js",
"decanter-no-markup.js.map": "decanter-no-markup.js.map",
"decanter.css": "../css/decanter.css",
"decanter.css.map": "../css/decanter.css.map",
"decanter.js": "decanter.js",
"decanter.js.map": "decanter.js.map"
}
3,554 changes: 3,553 additions & 1 deletion core/dist/js/decanter-no-markup.js

Large diffs are not rendered by default.

3,568 changes: 3,567 additions & 1 deletion core/dist/js/decanter.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions core/src/scss/components/global-footer/_global-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
flex-grow: 1;
}

.su-global-footer__link--external {
sherakama marked this conversation as resolved.
Show resolved Hide resolved
@include hide-visually;
}

.su-global-footer__menu {
@include margin(0 0 1rem);
Expand Down
25 changes: 15 additions & 10 deletions core/src/templates/components/global-footer/global-footer.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
{% if template_path_logo is empty -%}
{%- set template_path_logo = "@decanter/components/logo/logo.twig" -%}
{%- endif %}
{% if external_link_text is empty -%}
{%- set external_link_text -%}
<span class="su-global-footer__link--external">(link is external)</span>
sherakama marked this conversation as resolved.
Show resolved Hide resolved
{% endset %}
{%- endif %}

<div class="su-global-footer {{ modifier_class }}">
<div class="su-global-footer__container">
Expand All @@ -20,24 +25,24 @@
<div class="su-global-footer__content">
<nav aria-label="global footer menu">
<ul class="su-global-footer__menu su-global-footer__menu--global">
<li><a href="https://www.stanford.edu">Stanford Home</a></li>
<li><a href="https://visit.stanford.edu/plan/">Maps &amp; Directions</a></li>
<li><a href="https://www.stanford.edu/search/">Search Stanford</a></li>
<li><a href="https://emergency.stanford.edu">Emergency Info</a></li>
<li><a href="https://www.stanford.edu">Stanford Home {{ external_link_text }}</a></li>
sherakama marked this conversation as resolved.
Show resolved Hide resolved
<li><a href="https://visit.stanford.edu/plan/">Maps &amp; Directions {{ external_link_text }}</a></li>
<li><a href="https://www.stanford.edu/search/">Search Stanford {{ external_link_text }}></a></li>
<li><a href="https://emergency.stanford.edu">Emergency Info {{ external_link_text }}</a></li>
</ul>
<ul class="su-global-footer__menu su-global-footer__menu--policy">
<li><a href="https://www.stanford.edu/site/terms/"
title="Terms of use for sites">Terms of Use</a></li>
title="Terms of use for sites">Terms of Use {{ external_link_text }}</a></li>
<li><a href="https://www.stanford.edu/site/privacy/"
title="Privacy and cookie policy">Privacy</a></li>
title="Privacy and cookie policy">Privacy {{ external_link_text }}</a></li>
<li><a href="https://uit.stanford.edu/security/copyright-infringement"
title="Report alleged copyright infringement">Copyright</a></li>
title="Report alleged copyright infringement">Copyright {{ external_link_text }}</a></li>
<li><a href="https://adminguide.stanford.edu/chapter-1/subchapter-5/policy-1-5-4"
title="Ownership and use of Stanford trademarks and images">Trademarks</a></li>
title="Ownership and use of Stanford trademarks and images">Trademarks {{ external_link_text }}</a></li>
<li><a href="http://exploredegrees.stanford.edu/nonacademicregulations/nondiscrimination/"
title="Non-discrimination policy">Non-Discrimination</a></li>
title="Non-discrimination policy">Non-Discrimination {{ external_link_text }}</a></li>
<li><a href="https://www.stanford.edu/site/accessibility"
title="Report web accessibility issues">Accessibility</a></li>
title="Report web accessibility issues">Accessibility {{ external_link_text }}</a></li>
sherakama marked this conversation as resolved.
Show resolved Hide resolved
</ul>
</nav>
<div class="su-global-footer__copyright">
Expand Down