Conversation
- Add UC-mandated accessibility statement page (/_accessibility.html) for N2T.net, linked from the modern and legacy footers - Wrap identifier-format examples in <pre><code> so they pick up the dark-mode color rule, fixing a WCAG 1.4.3 contrast failure Refs: CDLUC3/arks-n2t-roadmap#32
…nd-fixes Add accessibility statement and fix pre/code dark-mode contrast
There was a problem hiding this comment.
Pull request overview
Updates the N2T service’s package version and adds an accessibility statement page, wiring it into both the modern templates and the legacy footer.
Changes:
- Bump project version from
0.12.1to0.12.2(and updateuv.lockaccordingly). - Improve identifier-format markup in templates by wrapping the sample in
<pre><code>…</code></pre>. - Add an Accessibility Statement page and link to it from the main and legacy footers.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Updates the locked editable n2t package version to 0.12.2. |
pyproject.toml |
Bumps the project version to 0.12.2. |
n2t/templates/schemes.html |
Updates identifier example markup to <pre><code>…</code></pre>. |
n2t/templates/index.html |
Updates identifier example markup to <pre><code>…</code></pre>. |
n2t/templates/base.html |
Updates identifier example markup and adds a footer link to the accessibility page. |
n2t/templates/accessibility.html |
Adds a new Accessibility Statement template intended to be served via /_accessibility.html. |
legacy_e_files/e/footer.html |
Adds an Accessibility Statement link in the legacy footer. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
adambuttrick
approved these changes
May 26, 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.
No description provided.