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

Launch fixes #62

Merged
merged 58 commits into from
May 13, 2022
Merged

Launch fixes #62

merged 58 commits into from
May 13, 2022

Conversation

alflennik
Copy link
Contributor

@alflennik alflennik commented May 5, 2022

Addresses a number of issues such as the following:

As well as some other miscellaneous polish and build system tweaks to support deploying to the WAI website.

@netlify
Copy link

netlify bot commented May 5, 2022

Deploy Preview for wai-aria-practices2 ready!

Name Link
🔨 Latest commit 108fa37
🔍 Latest deploy log https://app.netlify.com/sites/wai-aria-practices2/deploys/627e6d215de2b200080807a6
😎 Deploy Preview https://deploy-preview-62--wai-aria-practices2.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 settings.

@mcking65
Copy link
Contributor

Awesome progress @alflennik!!

Fixes for #26, #28, #31, #46, #49 #56, and #59 look good.

It looks like most of #24 is done; just have to get the DOM position and aria-label fixed. I commented in that issue for Steve.

I see that a97f69a is titled "Address issue 47". Unfortunately, the name I see on the top-level navigation region in the preview is still named "Context for this document". Per the conversation in #47, I thought addressing 31 would address 47 once the latest template is integrated. As you have marked this PR WIP, assuming that is still in progress.

Progress on #48 is looking awesome!

I see there are dates at the end of main on example pages. Most of the dates are much more recent than I would expect.

@alflennik
Copy link
Contributor Author

@SteveALee I did try to add type_of_guidance to _config.yml but it didn't work for me. I did restart the server after making the change, but no luck.

@SteveALee
Copy link
Contributor

@alflennik That's a shame - a lot of editing otherwise
Would normally insert here - https://github.com/w3c/wai-aria-practices/blob/main/_config.yml#L48 for all files

@alflennik
Copy link
Contributor Author

Thanks for confirming the fixes @mcking65 that's appreciated!

Regarding the dates in the footer of example pages, I've set it up to use the latest commit date for the example html file. The most recent change for most of the examples was triggered by a PR made by Simon which updated the HTML markup for 73 files on Nov 23, 2021.

@mcking65
Copy link
Contributor

@alflennik

Regarding the dates in the footer of example pages, I've set it up to use the latest commit date for the example html file. The most recent change for most of the examples was triggered by a PR made by Simon which updated the HTML markup for 73 files on Nov 23, 2021.

Would it be possible for us to exclude certain commits from the last updated date calculation by looking for a label on the PR? That is, can the update date calculation code get the PR associated with each commit, get the labels on the PR, and look for a specific label? If that label exists, ignore that commit and look for the next earlier commit? Then we could add a label like "non-substantive-change" to any PR and the commit to main for that PR would be ignored by the update date calculation.

I'd like to exclude that specific PR from the date calculation, and I am sure there are others that should be excluded, and there will be more in the future. The update date should reflect only substantive changes, otherwise it won't be very useful.

@mcking65
Copy link
Contributor

Fixes for issue #66 look good.

@mcking65
Copy link
Contributor

Unfortunately, we have a regression in the fix for #26. There is only one skip to, but it is the static skip to main link from the template rather than the APG jumpto menu.

@alflennik alflennik changed the title WIP: Launch fixes Launch fixes May 13, 2022
@alflennik alflennik merged commit e7bee34 into main May 13, 2022
@remibetin remibetin deleted the launch-fixes branch November 19, 2024 10:49
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.

5 participants