Skip to content

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 26, 2026

Adds role to glyph elements with aria-label

Glyphs with aria-label require a valid role. Set role="img"
for non-interactive glyphs and role="button" for clickable
glyphs without href. Glyphs with href (links) don't need a role
as elements are already semantically links.

This fixes HTML validation errors for glyph elements that have aria-label but no role attribute.
https://mantis.ilias.de/view.php?id=46921

@fhelfer fhelfer added bugfix kitchen sink php Pull requests that update Php code labels Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants