Loading
fix: #3634869 Keep the focus ring on the selected Upload or Generate option
Issue: https://www.drupal.org/project/ai_media/issues/3634869
The selected option of the Upload | Generate with AI switch lost its focus ring under Default Admin: its [aria-current="true"] rule set box-shadow after the :focus-visible rule at the same specificity. A combined rule now draws the selected bar and the focus ring together. Checked with keyboard focus under Default Admin and Gin.
Before: the focused, selected option shows no focus ring (Default Admin).
After: the selected bar and the focus ring show together.
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

