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

Add build support for linking to bibliographical references #4124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kfranqueiro
Copy link
Contributor

Refs #2535

This adds support to the Eleventy build system for resolving bibliographical references within paragraphs in the format [[ref]], and converting them into links within single brackets instead.

This resolves against both specref.org and the local bibliography configured in biblio.js in this repo.

Note that there are some references that have no resolution in either of these sources, which is why I'm not marking this as fully resolving the related issue.

Details at #2535 (comment)

Here's a breakdown of what is successfully replaced: (search for these in single brackets on the page in question on the PR preview; some may require expanding Key Terms)

  • 1.4.3 Contrast (Minimum): SRGB
  • 1.4.6 Contrast (Enhanced): SRGB
  • 1.4.11 Non-text Contrast: SRGB
  • 1.4.13 Content on Hover or Focus: HTML
  • 2.2.2 Pause, Stop, Hide: ISO_9241-391, SRGB
  • 2.3.1 Three Flashes or Below Threshold: ISO_9241-391, SRGB
  • 2.3.2 Three Flashes: ISO_9241-391
  • 2.4.13 Focus Appearance: SRGB
  • 2.5.5 Target Size (Enhanced): pointerevents
  • 2.5.8 Target Size (Minimum): pointerevents
  • 3.1.5 Reading Level: UNESCO (3 instances)
  • 3.2.1 On Focus: UAAG10
  • 3.2.2 On Input: UAAG10
  • 3.2.5 Change on Request: UAAG10
  • 4.1.3 Status Messages: UAAG10

Copy link

netlify bot commented Oct 29, 2024

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit 3d26e54
🔍 Latest deploy log https://app.netlify.com/sites/wcag2/deploys/672149c75eb79000084a64ad
😎 Deploy Preview https://deploy-preview-4124--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@w3cbot
Copy link

w3cbot commented Oct 29, 2024

kfranqueiro marked as non substantive for IPR from ash-nazg.

@patrickhlauke
Copy link
Member

patrickhlauke commented Oct 29, 2024

There seem to also be some double-bracketed references here and there (e.g. https://deploy-preview-4124--wcag2.netlify.app/understanding/contrast-minimum#rationale-for-the-ratios-chosen)

EDIT: ah, never mind, i should read your actual description first before barging in ... still work in progress :)

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.

3 participants