Skip to content

Added the glossary page#2395

Open
G0dwin wants to merge 3 commits intodevelopfrom
feature/glossary
Open

Added the glossary page#2395
G0dwin wants to merge 3 commits intodevelopfrom
feature/glossary

Conversation

@G0dwin
Copy link
Copy Markdown
Collaborator

@G0dwin G0dwin commented Mar 31, 2026

Added a glossary top level page to the ACT rules W3C site.

Related PR: act-rules/act-tools#53

Closes issue(s):

Need for Call for Review:

  • This can be merged with 1 approval: adding new top level page
  • This will require a 2 weeks Call for Review

How to Review And Approve

  • Go to the “Files changed” tab
  • Here you will have the option to leave comments on different lines.
  • Once the review is completed, find the “Review changes” button in the top right, select “Approve” (if you are really confident in the rule) or "Request changes" and click “Submit review”.
  • Make sure to also review the proposed Call for Review period. In case of disagreement, the longer period wins.

Preview the changes here

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2026

Deploy Preview for act-rules ready!

Name Link
🔨 Latest commit ccba2d4
🔍 Latest deploy log https://app.netlify.com/projects/act-rules/deploys/69cc63411860030008028619
😎 Deploy Preview https://deploy-preview-2395--act-rules.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 project configuration.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 31, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Collaborator

@kengdoj kengdoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

import { config, cloneWcagActRules, commitAndPush } from './commons.mjs'
import { config, cloneWcagActRules } from './commons.mjs'

const ACT_TOOLS_PATH = process.env.ACT_TOOLS_PATH || './node_modules/act-tools';
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note (non-blocking): I usually prefer nullish coalescence (??) in order to avoid the occasional blow-up with falsy-but-actually-correct values.

Suggested change
const ACT_TOOLS_PATH = process.env.ACT_TOOLS_PATH || './node_modules/act-tools';
const ACT_TOOLS_PATH = process.env.ACT_TOOLS_PATH ?? './node_modules/act-tools';

import { config, cloneWcagActRules, commitAndPush } from './commons.mjs'
import { config, cloneWcagActRules } from './commons.mjs'

const ACT_TOOLS_PATH = process.env.ACT_TOOLS_PATH || './node_modules/act-tools';
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: If act-tools is expected to be in node_modules, wouldn't an import { … } from "act-tools" work fine?

The cli code there seems to only call some other function with parameters read from CLI.
(a bit unrelated to this PR, since it was already how the other commands are run)

Copy link
Copy Markdown
Collaborator

@daniel-montalvo daniel-montalvo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @G0dwin for working on this. Approving, but I'd like for this to have @Jym77 suggestions included.

@daniel-montalvo
Copy link
Copy Markdown
Collaborator

@remibetin We would benefit from your review of this functionality, also related to act-rules/act-tools#53, because all of this is transforming content that's intended to land on the WAI website.

@remibetin
Copy link
Copy Markdown
Collaborator

@daniel-montalvo Thanks for the mention, Daniel. We'll review this one too with @kfranqueiro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add standalone ACT Rules glossary on WAI (wcag-act-rules)

7 participants