Skip to content

Conversation

@shawnthompson
Copy link
Contributor

Do not delete the following line

@netlify /en/pages-to-review/

Commit History:

  1. feat: add core role system data structure - Core role data (roles.js, rolePairs.js, etc.)
  2. feat: add Eleventy configuration and role template partials - .eleventy.js config and role partials
  3. feat: add role navigation pages and templates - Role navigation pages (role.njk, roles/index.njk, etc.)
  4. feat: enhance UI components with role badge system - Updated UI components with role badges and filtering
  5. feat: add comprehensive role tags to all content pages - Role tags added to 163+ content pages

- Add comprehensive roles.js with W3C ARRM role definitions
- Add rolePairs.js for role page generation
- Add groupPairsEn.js and groupPairsFr.js for role group organization
- Define 13 accessibility roles across 4 role groups
- Include bilingual role labels and detailed job descriptions
- Update .eleventy.js with role filtering functions (byRole, byAnyRole)
- Add role-group-sections.njk partial for displaying role groups
- Add role-mini-toc.njk partial for role navigation
- Enable role-based content filtering across the site
- Add role.njk templates for individual role pages (English/French)
- Add roles-group.njk templates for role group pages
- Add roles/index.njk landing pages with role filtering interface
- Include W3C ARRM role descriptions and job titles
- Enable bilingual role-based content discovery
- Add role column to pageListTable.njk with badge display
- Update pageLabel.njk to show role badges for content
- Enhance breadcrumbs.njk with role-based navigation
- Update base layout to include role system CSS and JavaScript
- Modify tagList.js to include role and roleGroup tags
- Enable visual role identification across all pages
@netlify
Copy link

netlify bot commented Aug 28, 2025

Deploy Preview for a11ycanada ready!

Name Link
🔨 Latest commit b7e6760
🔍 Latest deploy log https://app.netlify.com/projects/a11ycanada/deploys/68b99a3f84cf4500080e1fed
😎 Deploy Preview https://deploy-preview-731--a11ycanada.netlify.app/en/pages-to-review/
📱 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.

- Add role tags to 166+ content pages across English and French
- Tag navigation pages with appropriate roles (governance, etc.)
- Tag content pages by role: contentAuthoring, uxDesign, qaAutomated, etc.
- Tag Microsoft Office guides, accessibility standards, and how-to content
- Ensure bilingual parity with equal role coverage (83 EN + 83 FR files)
- Enable role-based content filtering and discovery across entire site
- Convert tag labels from Title Case to sentence case for consistency
- Add 'roles' entries for both English and French subjects
@shawnthompson shawnthompson linked an issue Aug 28, 2025 that may be closed by this pull request
2 tasks
@shawnthompson
Copy link
Contributor Author

Thanks to @zookelvin for the help tagging the pages in this PR.

@shawnthompson shawnthompson mentioned this pull request Aug 28, 2025
- Add CSV download functionality to page list table
- Implement git creation dates in CSV exports using computed data
- Add new columns: Layout, Date Modified, Date Created, Content Type
- Fix Nunjucks template syntax issues with conditional blocks
- Remove blank lines at top of CSV files using Nunjucks whitespace control
- Add UTF-8 BOM transform for proper French accent encoding in Excel
- Translate content type values in French CSV from English to French:
  - 'Landing Page' → 'Page d'atterrissage'
  - 'Content Page' → 'Page de contenu'
  - 'Link' → 'Lien'

This ensures both English and French CSV exports work correctly with proper encoding and localized content.
- Create shared content type macro in src/_includes/macros/contentType.njk
- Update HTML table and CSV templates to use unified content type logic
- Remove 'Other language link' column from HTML page list table
- Maintain UTF-8 BOM encoding and French translations in CSV exports

This ensures consistency between HTML table and CSV exports while simplifying the table interface.
@shawnthompson shawnthompson marked this pull request as draft September 3, 2025 11:50
@shawnthompson shawnthompson mentioned this pull request Sep 4, 2025
@shawnthompson
Copy link
Contributor Author

Once pages are tagged, remove eleventyExcludeFromCollections: true from roles landing pages in main

@shawnthompson shawnthompson changed the title Feature/role system WIP: Feature/role system Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

[CHANGE] Tagging all the content by role

1 participant