fix: #3634874 Leave the AI badge out of the error summary link

Issue: https://www.drupal.org/project/ai_media/issues/3634874

The error summary link read "Describe the image ✦ AI" because the description's title carried the AI badge.

The title is now the label alone and the badge is added when the label renders, so the summary link and the visible label each read right. A Kernel test covers both.

Before: the error summary link reads "Describe the image ✦ AI".

Before

After: the link reads "Describe the image"; the label keeps the badge.

After

AI-Generated: Yes

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

🤖 Generated with Claude Code

Edited by Rajab Natshah

Merge request reports

Loading
Loading