Skip to content

Conversation

@shawnthompson
Copy link
Contributor

Do not delete the following line

@netlify /en/pages-to-review/

Adding roles landing pages to site to be ready for when we start tagging the content pages with role in the front matter.

To see examples of how this will work, check out examples in PR #731

- 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
- Modify tagList.js to include role and roleGroup tags
- Enable visual role identification across all pages
- Convert tag labels from Title Case to sentence case for consistency
- Add 'roles' entries for both English and French subjects
- 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.
- Standardize tag labels to sentence case
- Reorganize subjects structure for better categorization
- Prepare tag system for content organization
…xclusion

• Add eleventyExcludeFromCollections to all role pages until content tagging begins
• Create reusable role-content-coming-soon.njk partial for consistent messaging
• Add internationalized role content messages to alerts.js data file
• Update role pages to show 'Coming soon' messages when no content is tagged
• Fix role group TOC to display all roles regardless of content availability
• Ensure consistent user experience across individual and group role pages
- 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.
@netlify
Copy link

netlify bot commented Sep 4, 2025

Deploy Preview for a11ycanada ready!

Name Link
🔨 Latest commit 5cb2623
🔍 Latest deploy log https://app.netlify.com/projects/a11ycanada/deploys/68d59c1bf552dc00089de7af
😎 Deploy Preview https://deploy-preview-733--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.

@shawnthompson
Copy link
Contributor Author

@shawnthompson shawnthompson merged commit e1a6099 into gc-da11yn:main Sep 25, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Second Iteration Sep 25, 2025
@shawnthompson shawnthompson deleted the feature/role-system-not-tagged branch September 25, 2025 20:31
@shawnthompson shawnthompson mentioned this pull request 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: Done

Development

Successfully merging this pull request may close these issues.

1 participant