Skip to content

Conversation

@howard-e
Copy link
Contributor

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

Supersedes #411 (pulling previous description and discussion here)
Requires w3c/aria-practices#3320 also being reviewed and merged


Closes w3c/aria-practices#3293

This allows displaying a trimmed (img-less) version of the "Read This First, No ARIA is better than Bad ARIA. Before using any ARIA" banner to each pattern page.

Contrary to initial discussions when that meeting took place, this change had to happen here, rather than in w3c/aria-practices, because the "Read This First" banner is being injected during this repository's build process.


Contrary to initial discussions when that meeting took place, this change had to happen here, rather than in w3c/aria-practices, because the "Read This First" banner is being injected during this repository's build process.

During's today's APG meeting, it was decided to move this injection away from the build repo to the content repo. Will re-purpose this PR to remove this injection here when that is ready.

@netlify
Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for aria-practices ready!

Name Link
🔨 Latest commit 431cdb8
🔍 Latest deploy log https://app.netlify.com/projects/aria-practices/deploys/68b7384137218800088debbb
😎 Deploy Preview https://deploy-preview-422--aria-practices.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 project configuration.

.gitmodules Outdated
path = _external/aria-practices
url = https://github.com/w3c/aria-practices.git
branch = main
branch = read-this-first-at-source
Copy link
Contributor Author

@howard-e howard-e Jul 28, 2025

Choose a reason for hiding this comment

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

Warning

Revert to main and run git submodule sync && git submodule update --init --recursive before merging once the related APG PR is merged

@howard-e howard-e marked this pull request as draft July 28, 2025 16:37
@howard-e howard-e marked this pull request as ready for review July 30, 2025 18:52
@howard-e howard-e requested a review from ChrisC August 7, 2025 04:38
# Conflicts:
#	.gitmodules
#	ARIA/apg/patterns/feed/examples/feed.md
#	_external/aria-practices
Copy link

@ChrisC ChrisC left a comment

Choose a reason for hiding this comment

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

Looks good to me and seems to work as expected!

# Conflicts:
#	ARIA/apg/patterns/patterns.md
#	ARIA/apg/practices/practices.md
#	_external/aria-practices
#	content-assets/wai-aria-practices/shared/js/read-this-first.js
@howard-e
Copy link
Contributor Author

howard-e commented Sep 2, 2025

w3c/aria-practices#3320 has now been merged. Moving forward with merge

@howard-e howard-e merged commit b3a39f9 into main Sep 2, 2025
4 checks 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.

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

3 participants