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

Create separate section for ARIA rules [hacky] #262

Merged
merged 4 commits into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ github:
path: content/index.md
footer:
<p>ACT Rules are developed by the <a href="https://www.w3.org/community/act-r/">ACT Rules Community Group</a> and the <a href="https://www.w3.org/groups/tf/wcag-act">Accessibility Conformance Testing (ACT) Task Force</a> of the Accessibility Guidelines Working Group (<a href="https://www.w3.org/groups/wg/ag">AG WG</a>). ACT Rules work was part of the <a href="https://www.w3.org/WAI/about/projects/wai-tools/">WAI-Tools Project</a>, <a href="https://www.w3.org/WAI/about/projects/wai-guide/">WAI-Guide Project</a>, and <a href="https://www.w3.org/WAI/about/projects/wai-coop/">WAI-CooP Project</a>, co-funded by the European Commission.</p>

---

{::nomarkdown}
Expand All @@ -30,9 +29,23 @@ The ACT Rules in this section directly relate to WCAG 2 success criteria. These

<ul>
{%- for rule in site.data.wcag-act-rules.rules["act-rules"] %}
{%- unless rule.permalink contains '/5f99a7' or rule.permalink contains '/6a7281' or rule.permalink contains '/674b10' %}
{%- if rule.proposed == false and rule.deprecated != true %}
<li><a href="{{ rule.permalink | relative_url }}">{{ rule.title }}</a></li>
{%- endif %}
{%- endunless %}
{%- endfor %}
</ul>

## Rules for WAI-ARIA

The ACT Rules in this section directly relate to WAI-ARIA requirements. These rules have been approved by the WAI-ARIA Working Group. They are fully implemented in at least one [test tool or methodology](../implementations/).

<ul>
{%- for rule in site.data.wcag-act-rules.rules["act-rules"] %}
{%- if rule.permalink contains '/5f99a7' or rule.permalink contains '/6a7281' or rule.permalink contains '/674b10' %}
<li><a href="{{ rule.permalink | relative_url }}">{{ rule.title }}</a></li>
{%- endif %}
{%- endfor %}
</ul>

Expand Down