Skip to content

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 30, 2026

Error: The “aria-label” attribute must not be specified on any “span” element unless the element has a “role” value other than “caption”, “code”, “deletion”, “emphasis”, “generic”, “insertion”, “paragraph”, “presentation”, “strong”, “subscript”, or “superscript”.
https://mantis.ilias.de/view.php?id=46951

aria-label on generic span is discouraged. Use {REQUIRED_ARIA}
for screen readers and * for the visual
star. Update field and form tests accordingly.

Problem

  • Validator/A11y: <span class="asterisk" aria-label="...">*</span> – aria-label auf span ohne passende role ungültig/ungenau.

Lösung

  • Bedeutung "erforderlich" über sr-only-Text; Stern mit aria-hidden="true".
  • Tests in Input/Field und Form 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

@oliversamoila oliversamoila left a comment

Choose a reason for hiding this comment

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

Hello everyone.
The HTML validation pre-testing with the PR was successful.
I'm forwarding this to @thibsy for code review. He may contact you with change requests or incorporate the changes directly (That includes cherry picking too.)

Kind regards,
@oliversamoila (as UI coordinator)

(There are two other error patterns remaining from the Mantis issue, but they cannot be addressed within the scope of this PR.)

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