fix: #3625659 Keep the button props unchanged and add link context in Twig

Issue: https://www.drupal.org/project/vartheme_bs5_horizonaid/issues/3625659

The button component keeps its original props; cards pass their title as hidden link text in Twig.

  • button.component.yml is back to its props before !36 (merged), so the button component version is unchanged.
  • label_context is a Twig variable only: card, card-icon and card-pricing pass their heading when they include the button.
  • Fresh installs on Drupal CMS and Varbase: button version back to the previous one, axe serious 0.

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release

AI-Generated: Yes

🤖 Generated with Claude Code

Edited by Rajab Natshah

Merge request reports

Loading
Loading