Open jscholes opened 3 years ago
Additional note: we'd eventually like a script to do at least some of this work. Given some of the complexities captured in the preceding comment, it's unlikely that it could be completely automated at this time, and that commitment to a certain amount of standardisation from the APG will be required.
Notes from the March 18, 2021 CG meeting:
#1
, this shouldn't be an issue in the future.
When examples are pulled into the ARIA-AT repo from aria-practices, we currently modify them as follows:
href
of the<a>
linking to the design pattern in the APG, to referencehttps://w3c.github.com/aria-practices
, rather than a relative, repo-specific path like../../#something
).The above is quite a bit of work, but can also be complicated by different examples following different structures or relying on assets that others do not. For example, modifying the Data Grid Examples for PR #393 involved more work, because:
grid
directory, theupdate-reference
script didn't pull it in to begin with.Finally, it should be noted that the update-reference script does print some instructions for test writers, as follows:
Obviously, the reality is a bit more nuanced. So based on the outcomes of this issue and related discussion, I'd love for the script to link to a relevant wiki page instead.
CC @sinabahram