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

Source patterns and practices pages from APG #280

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

alflennik
Copy link
Contributor

@alflennik alflennik commented Nov 30, 2023

Sources the patterns and practices pages and all content on them including images, from the aria-practices repo instead of being bolted on later within the wai-aria-practices repo. See w3c/aria-practices#2702 for more information.

Should be merged following the merge of w3c/aria-practices#2869.

Copy link

netlify bot commented Nov 30, 2023

Deploy Preview for aria-practices ready!

Name Link
🔨 Latest commit c1624de
🔍 Latest deploy log https://app.netlify.com/sites/aria-practices/deploys/65775c230f108d00087320b1
😎 Deploy Preview https://deploy-preview-280--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 site configuration.

Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

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

@alflennik thanks for taking this on. This looks good to me! I also spent some time looking through the website with my local build of w3c/wai-website against this branch and found no issues.

I shared a very minor nit below so going ahead with approving!

@@ -44,6 +50,7 @@ const getLastModifiedDate = async (exampleFilePath) => {
);
throw error;
}
// console.log(path.basename(exampleFilePath), dateFormatted)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: You can remove this

@@ -44,6 +43,12 @@ const determineContentType = (sourcePath) => {
if (sourcePath.endsWith("content/index/index.html")) {
return "exampleIndex";
}
if (
Copy link
Contributor

Choose a reason for hiding this comment

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

As this file grows, I think we'll want to think about a different mapping structure for the content types just for the benefit of maintenance. I have no actual actionable feedback here, just sharing a very small thought that popped into my head when reviewing all the other statically defined paths here.

mcking65 pushed a commit to w3c/aria-practices that referenced this pull request Dec 11, 2023
…s.html, and practices.html (pull #2869)

Resolve issue 2702 by moving HTML content and images from the wai-aria-practices repo into the aria-practices repo. This includes HTML content for the patterns.html page, the practices.html page, and images across all patterns and examples. A complementary change is made to the build process in the wai-aria-practices repo via PR w3c/wai-aria-practices#280.
@alflennik alflennik merged commit 8d02835 into main Dec 11, 2023
7 checks passed
@alflennik alflennik deleted the patterns-practices-pages branch December 11, 2023 19:01
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.

2 participants