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

npm run update-reference is out of date #1073

Open
howard-e opened this issue May 22, 2024 · 0 comments
Open

npm run update-reference is out of date #1073

howard-e opened this issue May 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@howard-e
Copy link
Contributor

howard-e commented May 22, 2024

Running npm run update-reference <directory> now gives the following results:

message if v1 version of pattern currently exists
$> npm run update-reference banner

> [email protected] update-reference
> node scripts/update-reference.js banner

Cloning the aria-practice repo.
Locating the matching example file /path/to/aria-at/scripts/tmp/examples/landmarks/banner.html.
The example html '/path/to/aria-at/scripts/tmp/examples/landmarks/banner.html' does not exist. Please enure the current example html utl is in the references.csv file.
message if v2 version of pattern currently exists
$> npm run update-reference alert

> [email protected] update-reference
> node scripts/update-reference.js alert

`example` must be defined in references.csv with the format `https://w3c.github.io/aria-practices/examples/<PATH_TO_EXAMPLE>.html`

The script references the old Respec deploy for the APG site. So it has to be revised to reference examples from the new WAI Website and current w3c/aria-practices repo structure, and also account for the new v2 folder/files structure where applicable.

This was raised in the May 22, 2024 CG meeting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant