w3c / wai-wcag-supplemental

Repository to display Design Patterns for People with Cognitive and Learning Disabilities in a WAI website-like template
https://wai-wcag-supplemental.netlify.app/wcag-supplemental/all-supplemental-guidance/
7 stars 16 forks source link

ID of Objects and Patterns interaction woth collection collation #9

Closed SteveALee closed 3 years ago

SteveALee commented 3 years ago

As far as this repo is concerned, we need the Objectives and Patterns to be order as they appear in the TR, or at least as determined by the content creators. Currently they are ordered only by document order. When the files are split out we will need some way to determine order.

Also it looks like the Jekyll collection ordering is a single string, not expression.

Also this might be be alphabetic and not numeric, the documentation does not specify, so need to test.

So we need to find a way to embed numeric ordering in source files a and transfer over to the ordering in the front matter so it works. If we have numeric ordering we could use for the patterns and for the objectives.