Improve schema.datacite.org accessibility for footer social links, document semantics, and heading structure#163
Merged
Conversation
Agent-Logs-Url: https://github.com/datacite/schema/sessions/ca1e911b-ec40-4675-b819-e2cf066aed1f Co-authored-by: ashwinisukale <1137325+ashwinisukale@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix accessibility issues for icon-only links in footer
Improve schema.datacite.org accessibility for footer social links, document semantics, and heading structure
May 13, 2026
jrhoads
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates
schema.datacite.orgtemplates to resolve footer “Empty link” accessibility violations and related semantic/accessibility issues identified through WAVE and Lighthouse audits.Footer social link accessibility
Added explicit
aria-labelvalues to every icon-only social link insource/includes/_footer.html.erb:Kept existing URLs, classes, layout, and icons unchanged.
Marked decorative icons as hidden from assistive technologies:
<i ... aria-hidden="true">X inline SVG now includes:
aria-hidden="true"focusable="false"Example:
Document language + semantic structure
lang="en"to the root<html>element insource/layouts/layout.erb.<main id="main-content">landmark around primary page content to improve screen reader navigation and document structure.Image alternative text
alt="<%= ENV['SITE_TITLE'] %>"to the header logo image insource/includes/_header.html.erb.Heading hierarchy / skip-level fixes
Promoted footer column headings from
h4toh2insource/includes/_footer.html.erbto avoid skipped heading-level warnings.Updated footer CSS selectors from
.footer h4to.footer h2(including margin styles) to preserve existing visual presentation.Corrected schema page heading hierarchy in
source/layouts/index.erb:Schema Versionschanged fromh4→h2h5→h3Corrected markdown heading hierarchy in:
source/meta/kernel-4/index.html.mdsource/meta/kernel-4.7/index.html.mdUpdated:
#### See Version 4.7 Update...## See Version 4.7 Update...This resolves Lighthouse “Heading elements are not in a sequentially-descending order” findings.
Touch target improvements
Validation
Validated locally using:
Confirmed resolution of:
Related issue