Skip to content

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 30, 2026

Error: Attribute “href” not allowed on element “button” at this point
https://mantis.ilias.de/view.php?id=47065

href on is invalid. Replace with data-target for carousel
target; add type="button" and remove redundant role="button".
Update LightboxTest.

  • Validator: href auf
im Lightbox-Carousel ungültig.

Lösung

  • tpl.lightbox.html: href durch data-target; type="button" setzen; role="button" entfernen.
  • LightboxTest anpassen.

@fhelfer fhelfer added bugfix kitchen sink php Pull requests that update Php code labels Jan 30, 2026
@BettyFromHH BettyFromHH added the css/html Pull requests that propose changes to CSS/SCSS or HTML files. label Feb 2, 2026
Copy link
Contributor

@thibsy thibsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @fhelfer,

Thx a lot for the fix.

Please answer the following questions:

  • href: I think we only needed to provide this attribute because a link has been used previously. Since you did not change any JavaScript, I assume this attribute became obsolete and can be removed entirely. Am I right?

Please implement these changes:

  • Rebase: I have overlooked this PR when merging #11037 this morning. Would you be so kind and rebase your fix onto the latest version? Your proposal is actually more coherent and addresses a different issue at the same time.

Kind regards,
@thibsy (as UI coordinator)

@fhelfer fhelfer requested a review from thibsy February 4, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix css/html Pull requests that propose changes to CSS/SCSS or HTML files. kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants