Skip to content

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 30, 2026

Error: Bad value “” for attribute “id” on element “audio”: An ID must not be the empty string.
https://mantis.ilias.de/view.php?id=47060

Fix: Audio/Video elements must not have empty id attribute

When no JavaScript binding is needed, use createId() so the id is
never empty. Validator: empty id="" is invalid.

Problem

  • HTML-Validator: <video> und <audio> mit leerem id="" sind ungültig.

Lösung

  • In Player/Renderer: id = bindJavaScript(component) ?? createId(); id ist nie leer.
  • Tests: Erwartung auf generierte ID statt id="" anpassen.

@fhelfer fhelfer added bugfix kitchen sink php Pull requests that update Php code labels Jan 30, 2026
@fhelfer fhelfer changed the title [Fix] 0047061 UI: Audio/Video elements must not have empty id attribute [Fix] 0047060 UI: Audio/Video elements must not have empty id attribute Jan 30, 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