wip: wcag structure
Some checks failed
/ Run tests (push) Successful in 7m57s
/ Run system tests (push) Failing after 4m18s
/ Build, push and deploy image (push) Failing after 59s

This commit is contained in:
david 2025-05-16 19:02:33 +02:00
parent 4c31dbbed0
commit 4dd445be57
48 changed files with 461 additions and 137 deletions

View file

@ -11,8 +11,8 @@ div id=dom_id(check)
th = Check.human_attribute_name(:number)
td = check.number
tr
th = Principle.model_name.human
td = check.principle&.t_name
th = Guideline.model_name.human
td = check.guideline&.name_en
tr
th = Standard.model_name.human(count: check.standard_ids.size)
td = check.standards.map(&:t_name).sort_by(&:downcase).join(", ")
@ -80,4 +80,4 @@ div id=dom_id(check)
ul
- check.links.select{ _1.link_category == category }.map { |link| link_to link.text, link.url, target: :_blank }.each do |link|
li = link