Skip to content

Adding accessibility section for "Learn" page and menu.#1019

Merged
sfisher merged 2 commits into
developfrom
sf/accessibility-statement
May 26, 2026
Merged

Adding accessibility section for "Learn" page and menu.#1019
sfisher merged 2 commits into
developfrom
sf/accessibility-statement

Conversation

@sfisher

@sfisher sfisher commented May 22, 2026

Copy link
Copy Markdown
Contributor

Most of the change is actually in the info-pages repo. But to make it parallel with the other sections (heading, menu) I have to change things in here, also.

See #1018 .

I think CDLUC3/ezid-info-pages#3 has to be merged first and then this one merged and then we can test by deploying to development server.

I tested the changes locally (I have two different repos inside my code) and it looks ok to me.

Screenshot 2026-05-22 at 1 27 14 PM Screenshot 2026-05-22 at 1 27 31 PM

@sfisher sfisher requested review from adambuttrick and jsjiang May 22, 2026 20:29
jsjiang
jsjiang previously approved these changes May 22, 2026

@jsjiang jsjiang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you Scott for providing a quick solution.

Jing

@adambuttrick

Copy link
Copy Markdown

One quick comment because I'm off VPN and can't see dev - the policy itself needs to be hyperlinked. Sorry if this already is, just couldn't tell from the screenshot.

@sfisher sfisher changed the base branch from main to develop May 26, 2026 18:11
@sfisher sfisher dismissed jsjiang’s stale review May 26, 2026 18:11

The base branch was changed.

@sfisher

sfisher commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

hi @adambuttrick The menu for Learn has a submenu item called "Accessibility" (a hyperlink). I think this might be what you're talking about or should there be something in the footer or somewhere else, also?

@sfisher sfisher requested review from adambuttrick and Copilot and removed request for adambuttrick May 26, 2026 18:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an “Accessibility” section to the Learn page accordion and exposes it via the Learn dropdown menu, supporting Issue #1018 (UC-mandated accessibility statement).

Changes:

  • Add a new “Accessibility” accordion section on /learn that includes info/learnsub_accessibility.html.
  • Add “Accessibility” as a new Learn submenu item pointing to #05.
  • Mirror the menu update in the dev/ header include.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
templates/learn.html Adds a new accordion section for Accessibility that pulls content from the external info-pages templates.
templates/includes/top.html Adds an “Accessibility” link in the Learn dropdown menu (#05).
dev/includes/header.html Keeps the dev header’s Learn menu in sync by adding the same link.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread templates/learn.html
Comment thread templates/includes/top.html
Comment thread dev/includes/header.html
@sfisher

sfisher commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Ok, @jsjiang and @adambuttrick changed to be sure link is in text (other repo, already merged) and link from footer to the /about/#05 which is the statement under the about section.

@sfisher sfisher requested review from jsjiang and removed request for adambuttrick May 26, 2026 20:32
@sfisher sfisher merged commit ec83681 into develop May 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants