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

Updated footer links to new GW standard #561

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/assets/stylesheets/scholarspace/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: wrap;
margin-top: 0;
}

Expand Down
19 changes: 8 additions & 11 deletions app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,36 @@
</div>
<ul>
<li>
<a href="https://www.campusadvisories.gwu.edu/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=campus-advisories" target="_blank" aria-label="View the latest Campus Advisories, opens in new window">Campus Advisories</a>
<a href="https://campusadvisories.gwu.edu/?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=campus-advisories" aria-label="Campus Advisories; link opens in new window, opens in a new window" rel="noopener" target="_blank">Campus Advisories</a>
</li>
<li>
<a href="https://compliance.gwu.edu/equal-opportunity-nondiscrimination-anti-harassment-and-non-retaliation" target="_blank" aria-label="EO/Nondiscrimination Policy, opens in a new window">EO/Nondiscrimination Policy</a>
<a href="https://compliance.gwu.edu/equal-opportunity-nondiscrimination-anti-harassment-and-non-retaliation?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=EEO-nondiscrimination-policy" aria-label="EO/Nondiscrimination Policy; link opens in new window, opens in a new window" rel="noopener" target="_blank">EO/Nondiscrimination Policy</a>
</li>
<li>
<a href="https://www.gwu.edu/privacy-notice/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=privacy-notice" target="_blank" aria-label="Privacy Notice, opens in new window">Privacy Notice</a>
<a href="https://www.gwu.edu/privacy-notice?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=privacy-notice" aria-label="Website Privacy Notice; link opens in new window, opens in a new window" rel="noopener" target="_blank">Website Privacy Notice</a>
</li>
</ul>
</div>
<div class="row-two">
<ul>
<li>
<a href="https://www.gwu.edu/contact-gw/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=contact-gw" target="_blank" aria-label="Contact GW with general questions or comments, opens in new window">Contact GW</a>
<a href="https://www.gwu.edu/contact-gw?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=contact-gw" aria-label="Contact GW; link opens in new window, opens in a new window" rel="noopener" target="_blank">Contact GW</a>
</li>
<li>
<a href="https://accessibility.gwu.edu/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=accessibility" target="_blank" aria-label="Visit GW's main accessibility website, opens in new window">Accessibility</a>
<a href="https://accessibility.gwu.edu/?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=accessibility" aria-label="Accessibility; link opens in new window, opens in a new window" rel="noopener" target="_blank">Accessibility</a>
</li>
<li>
<a href="https://www.gwu.edu/terms-use/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=terms-use" target="_blank" aria-label="Terms of Use, opens in new window">Terms of Use</a>
<a href="https://www.gwu.edu/terms-use?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=terms-use" aria-label="Terms of Use; link opens in new window, opens in a new window" rel="noopener" target="_blank">Terms of Use</a>
</li>
<li>
<a href="https://www.gwu.edu/copyright/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=copyright" target="_blank" aria-label="Copyright information for GW websites, opens in new window">Copyright</a>
<a href="https://www.gwu.edu/copyright?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=copyright" aria-label="Copyright; link opens in new window, opens in a new window" rel="noopener" target="_blank">Copyright</a>
</li>
<li>
<a href="https://www.gwu.edu/az-index/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=az-index" target="_blank" aria-label="A-Z Index, opens in new window">A-Z Index</a>
<a href="https://accessibility.gwu.edu/report-barrier-accessibility?utm_medium=link&amp;utm_campaign=lai-footer&amp;utm_source=report-barrier-accessibility" aria-label="Report a Barrier to Accessibility; link opens in new window, opens in a new window" target="_blank">Report a Barrier to Accessibility</a>
</li>
</ul>
</div>
<div class="row-three"><ul>
<li>GW is committed to digital accessibility. If you experience a barrier that affects your ability to access content on this page, let us know via the
<a href="https://accessibility.gwu.edu/accessibility-feedback-form/?utm_medium=link&amp;utm_campaign=editorial-footer&amp;utm_source=accessibility-feedback" target="_blank" aria-label="Accessibility Feedback Form, opens in new window">Accessibility Feedback Form</a>.
</li>
<li>
<div>
<p><%= t('hyrax.product_name') %> v<%= t('hyrax.local_product_version') %>, built on <a href="https://hyrax.samvera.org/" class="navbar-link" target="_blank">Hyrax</a> v<%= Hyrax::VERSION %></p>
Expand Down
10 changes: 2 additions & 8 deletions spec/features/homepage_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,9 @@
end
end

it 'has a link to "A-Z Index"' do
it 'has a link to "Report a Barrier to Accessibility"' do
within "#footer-links" do
expect(page).to have_content("A-Z Index")
end
end

it 'has a link to "Accessibility Feedback Form"' do
within "#footer-links" do
expect(page).to have_content("Accessibility Feedback Form")
expect(page).to have_content("Report a Barrier to Accessibility")
end
end
end
Expand Down