fix: #3625357 Fix three WCAG 2.2 AA violations: world map, pager and gold headings

Issue: #3625357

Fixes three serious axe violations found on a fresh Drupal CMS + Horizon Aid install (anonymous visitor).

  • World map (map.twig): role="img" → role="group", so the country buttons are reachable by screen readers.
  • Pager (pagination.twig): removed role="presentation" from the disabled <li> items, so the list is valid.
  • Gold headings on light sections (vartheme.base.scss): on light backgrounds, .display-*.text-primary uses the design's own text tone #997404 and never renders under 24px. Design colours are unchanged.

Tested: 79 public URLs at 390 and 1440 px, WCAG 2.2 AA + best-practice: 0 violations.

Checkpoints

  • File an issue
  • Addition/Change/Update/Fix
  • Reviewed by a human
  • Code review by maintainers

AI-Generated: Yes

Edited by Rajab Natshah

Merge request reports

Loading
Loading