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

File structure updates to support wai-website deploy #184

Merged
merged 6 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions ARIA/apg/about/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ lang: en
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>About</title>

<script src="../shared/js/highlight.pack.js"></script>
<script src="../shared/js/app.js"></script>
<script src="../shared/js/skipto.js"></script>
<script src="../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../content-assets/wai-aria-practices/shared/js/app.js"></script>
<script src="../../../content-assets/wai-aria-practices/shared/js/skipto.js"></script>


<link
Expand All @@ -35,7 +35,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -342,5 +342,5 @@ if (enableSidebar) document.body.classList.add('has-sidebar');

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
20 changes: 10 additions & 10 deletions ARIA/apg/apg-home.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>


Expand Down Expand Up @@ -61,7 +61,7 @@ lang: en
</p>
<a href="patterns/" class="button-link button-link-white">View Patterns</a>
</div>
<img alt="A laptop screen fills with an accessibility icon and emits a checkmark." src="images/index-1.svg">
<img alt="A laptop screen fills with an accessibility icon and emits a checkmark." src="../../content-images/wai-aria-practices/images/index-1.svg">
</div>
</div>
<div class="detail-3"></div>
Expand All @@ -86,7 +86,7 @@ lang: en
<a href="patterns/" aria-label="Learn more about APG patterns and examples" class="button-link">Learn More</a>
</div>
<div class="resource-item-img">
<img alt="A menagerie of widgets." src="images/index-2.svg">
<img alt="A menagerie of widgets." src="../../content-images/wai-aria-practices/images/index-2.svg">
</div>
</div><div class="resource-item">
<div class="resource-item-content">
Expand All @@ -97,7 +97,7 @@ lang: en
<a href="practices/landmark-regions/" aria-label="Learn more about ARIA landmarks" class="button-link">Learn More</a>
</div>
<div class="resource-item-img">
<img alt="A document flies apart into chunks." src="images/index-3.svg">
<img alt="A document flies apart into chunks." src="../../content-images/wai-aria-practices/images/index-3.svg">
</div>
</div><div class="resource-item">
<div class="resource-item-content">
Expand All @@ -108,7 +108,7 @@ lang: en
<a href="practices/names-and-descriptions/" aria-label="Learn more about accessible names and descriptions" class="button-link">Learn More</a>
</div>
<div class="resource-item-img">
<img alt="Indicators delve inside a document." src="images/index-4.svg">
<img alt="Indicators delve inside a document." src="../../content-images/wai-aria-practices/images/index-4.svg">
</div>
</div><div class="resource-item">
<div class="resource-item-content">
Expand All @@ -119,7 +119,7 @@ lang: en
<a class="button-link" href="practices/" aria-label="Learn more about APG practices">Learn More</a>
</div>
<div class="resource-item-img">
<img alt="A box with an accessibility label is chock full of widgets and document bits." src="images/index-5.svg">
<img alt="A box with an accessibility label is chock full of widgets and document bits." src="../../content-images/wai-aria-practices/images/index-5.svg">
</div>
</div>
</div>
Expand All @@ -140,7 +140,7 @@ lang: en
<div class="collaboration-items">

<div class="collaboration-item">
<img alt="An icon showing three nodes connecting." src="images/index-6.svg">
<img alt="An icon showing three nodes connecting." src="../../content-images/wai-aria-practices/images/index-6.svg">
<h3>Join the Task Force</h3>
<p>
To join the APG Task Force, individuals need to first join the W3C ARIA Working Group.
Expand All @@ -150,7 +150,7 @@ lang: en
</div>

<div class="collaboration-item">
<img alt="An icon showing two human shapes carrying a burden." src="images/index-7.svg">
<img alt="An icon showing two human shapes carrying a burden." src="../../content-images/wai-aria-practices/images/index-7.svg">
<h3>Contribute via GitHub</h3>
<p>
Many valuable contributions are made by people who find or raise issues of interest in our GitHub repository and then submit proposed changes via a GitHub pull request.
Expand All @@ -162,7 +162,7 @@ lang: en

<div class="collaboration-item mailing-list-item">
<div class="collaboration-detail-4 detail-4"></div>
<img alt="A notification bell icon appears over an email icon." src="images/index-8.svg">
<img alt="A notification bell icon appears over an email icon." src="../../content-images/wai-aria-practices/images/index-8.svg">
<div>
<h3>Mailing Lists</h3>
<p>
Expand All @@ -179,5 +179,5 @@ lang: en

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
10 changes: 5 additions & 5 deletions ARIA/apg/index/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ lang: en
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Index</title>

<script src="../shared/js/examples.js"></script>
<script src="../shared/js/highlight.pack.js"></script>
<script src="../shared/js/app.js"></script>
<script src="../../../content-assets/wai-aria-practices/shared/js/examples.js"></script>
<script src="../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../content-assets/wai-aria-practices/shared/js/app.js"></script>


<link
Expand All @@ -35,7 +35,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -952,5 +952,5 @@ if (enableSidebar) document.body.classList.add('has-sidebar');

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
10 changes: 5 additions & 5 deletions ARIA/apg/patterns/accordion/accordion-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ lang: en
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Accordion Pattern</title>

<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script src="../../shared/js/skipto.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/app.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/skipto.js"></script>


<link
Expand All @@ -35,7 +35,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -145,5 +145,5 @@ if (enableSidebar) document.body.classList.add('has-sidebar');

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
25 changes: 14 additions & 11 deletions ARIA/apg/patterns/accordion/examples/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/accordion/examples/accordion/

sidebar: true

footer: " <div class='example-page-footer'> <p><a href='https://github.com/w3c/aria-practices/projects/8'>View issues related to this example</a></p> <p>Page last updated: 19 December 2022</p> </div> "
footer: " <div class='example-page-footer'> <p><a href='https://github.com/w3c/aria-practices/projects/8'>View issues related to this example</a></p> <p>Page last updated: 7 December 2022</p> </div> "

# Context here: https://github.com/w3c/wai-aria-practices/issues/31
type_of_guidance: APG
Expand All @@ -23,12 +23,15 @@ lang: en
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Accordion Example</title>

<script src="../../../../shared/js/examples.js"></script>
<script src="../../../../shared/js/highlight.pack.js"></script>
<script src="../../../../shared/js/app.js"></script>
<script src="../../../../shared/js/skipto.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/examples.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/app.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/skipto.js"></script>

<link rel="stylesheet" href="../css/accordion.css" />
<link
rel="stylesheet"
href="../../../../../../content-assets/wai-aria-practices/patterns/accordion/examples/css/accordion.css"
/>


<link
Expand All @@ -38,7 +41,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -316,8 +319,8 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
<section>
<h2>Javascript and CSS Source Code</h2>
<ul id="css_js_files">
<li>CSS: <a href="../css/accordion.css" type="tex/css">accordion.css</a></li>
<li>JavaScript: <a href="../js/accordion.js" type="text/javascript">accordion.js</a></li>
<li>CSS: <a href="../../../../../../content-assets/wai-aria-practices/patterns/accordion/examples/css/accordion.css" type="tex/css">accordion.css</a></li>
<li>JavaScript: <a href="../../../../../../content-assets/wai-aria-practices/patterns/accordion/examples/js/accordion.js" type="text/javascript">accordion.js</a></li>
</ul>
</section>

Expand All @@ -332,9 +335,9 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
</script>
</section>
</div>
<script src="../js/accordion.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/patterns/accordion/examples/js/accordion.js"></script>

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
10 changes: 5 additions & 5 deletions ARIA/apg/patterns/alert/alert-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ lang: en
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Alert Pattern</title>

<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script src="../../shared/js/skipto.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/app.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/skipto.js"></script>


<link
Expand All @@ -35,7 +35,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -101,5 +101,5 @@ if (enableSidebar) document.body.classList.add('has-sidebar');

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
28 changes: 17 additions & 11 deletions ARIA/apg/patterns/alert/examples/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/alert/examples/alert/

sidebar: true

footer: " <div class='example-page-footer'> <p><a href='https://github.com/w3c/aria-practices/projects/20'>View issues related to this example</a></p> <p>Page last updated: 19 December 2022</p> </div> "
footer: " <div class='example-page-footer'> <p><a href='https://github.com/w3c/aria-practices/projects/20'>View issues related to this example</a></p> <p>Page last updated: 7 December 2022</p> </div> "

# Context here: https://github.com/w3c/wai-aria-practices/issues/31
type_of_guidance: APG
Expand All @@ -23,13 +23,19 @@ lang: en
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Alert Example</title>

<script src="../../../../shared/js/examples.js"></script>
<script src="../../../../shared/js/highlight.pack.js"></script>
<script src="../../../../shared/js/app.js"></script>
<script src="../../../../shared/js/skipto.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/examples.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/app.js"></script>
<script src="../../../../../../content-assets/wai-aria-practices/shared/js/skipto.js"></script>

<link href="../css/alert.css" rel="stylesheet" />
<script src="../js/alert.js" type="text/javascript"></script>
<link
href="../../../../../../content-assets/wai-aria-practices/patterns/alert/examples/css/alert.css"
rel="stylesheet"
/>
<script
src="../../../../../../content-assets/wai-aria-practices/patterns/alert/examples/js/alert.js"
type="text/javascript"
></script>


<link
Expand All @@ -39,7 +45,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -192,11 +198,11 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
<ul id="css_js_files">
<li>
CSS:
<a href="../css/alert.css" type="tex/css">alert.css</a>
<a href="../../../../../../content-assets/wai-aria-practices/patterns/alert/examples/css/alert.css" type="tex/css">alert.css</a>
</li>
<li>
Javascript:
<a href="../js/alert.js" type="text/javascript">alert.js</a>
<a href="../../../../../../content-assets/wai-aria-practices/patterns/alert/examples/js/alert.js" type="text/javascript">alert.js</a>
</li>
</ul>
</section>
Expand All @@ -215,5 +221,5 @@ if (enableSidebar) document.body.classList.add('has-sidebar');

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
10 changes: 5 additions & 5 deletions ARIA/apg/patterns/alertdialog/alertdialog-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ lang: en
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Alert and Message Dialogs Pattern</title>

<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script src="../../shared/js/skipto.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/highlight.pack.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/app.js"></script>
<script src="../../../../content-assets/wai-aria-practices/shared/js/skipto.js"></script>


<link
Expand All @@ -35,7 +35,7 @@ lang: en
<!-- Code highlighting styles -->
<link
rel="stylesheet"
href="{{ '/ARIA/apg/shared/css/github.css' | relative_url }}"
href="{{ '/content-assets/wai-aria-practices/shared/css/github.css' | relative_url }}"
>

<script>
Expand Down Expand Up @@ -107,5 +107,5 @@ if (enableSidebar) document.body.classList.add('has-sidebar');

</div>
<script
src="{{ '/ARIA/apg/shared/js/skipto.js' | relative_url }}"
src="{{ '/content-assets/wai-aria-practices/shared/js/skipto.js' | relative_url }}"
></script>
Loading