Loading
fix: #3634879 Give the AI tabs in the Media Library a clean accessible name
Issue: https://www.drupal.org/project/ai_media/issues/3634879
An AI tab was read as "Show Generate image with AI media , new": core's hidden "Show ... media" wrapper plus a stray space before the comma. The AI tab now has an aria-label ("Generate image with AI, new", "(selected)" when open), and a small behaviour keeps it in step after core's tab script rewrites the opened tab.
Before (1.0.x, Gin): the AI tab is read as "Show Generate image with AI media , new".
After (Gin): the tab looks the same and is read as "Generate image with AI, new".
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
Edited by Rajab Natshah

