Skip to content

Infrastructure: Control pages read-this-first.html appears on from APG #3320

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

howard-e
Copy link
Contributor

@howard-e howard-e commented Jul 30, 2025

Closes #3293

Additionally, this PR ensures the pages that /content/shared/templates/read-this-first.html appears on is controlled from this repository with the new /shared/js/read-this-first.js script. That was being done from w3c/wai-aria-practices by manually adding the template into the patterns and practices index pages. This was discussed in Jul 22, 2025 TF meeting.

The script is doing the same by inserting the template content after the first h1 found on the page.

This PR means the insertion from w3c/wai-aria-practices should be removed. Note that this should be reviewed and merged before w3c/wai-aria-practices#422 is merged.


WAI Preview Link (Last built on Wed, 30 Jul 2025 18:52:36 GMT).

@howard-e howard-e added the Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation label Jul 30, 2025
@howard-e howard-e changed the title Infrastructure: Control pages read-this-first.html appears from APG Infrastructure: Control pages read-this-first.html appears on from APG Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding "Read This First link to the top of each pattern page"
1 participant