Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with role Tag in HTML #338

Closed
1 task done
ingeniumdesign opened this issue Sep 5, 2024 · 2 comments
Closed
1 task done

Error with role Tag in HTML #338

ingeniumdesign opened this issue Sep 5, 2024 · 2 comments

Comments

@ingeniumdesign
Copy link

ingeniumdesign commented Sep 5, 2024

Bug Report

Prerequisites

  • Can you reproduce the problem on TYPO3 master

Description

in the Google Website Audit Tool:
https://pagespeed.web.dev/analysis/

Elements with `role="dialog"` or `role="alertdialog"` do not have accessible names.
ARIA dialog elements without accessible names may prevent screen readers users from discerning the purpose of these elements.
Elemente mit role="dialog" oder role="alertdialog" haben keinen barrierefreien Namen.
ARIA-Dialogelemente ohne barrierefreie Namen können Nutzer von Screenreadern daran hindern, den Zweck dieser Elemente zu erkennen. Informationen zum Verbessern der Barrierefreiheit von ARIA-Dialogelementen
Fehlerhafte Elemente
Hinweis zu Cookies Unsere Webseite verwendet Cookies. Diese haben zwei Funktio…
<div id="cookieman-modal" data-cookieman-showonce="1" data-cookieman-settings="{&quot;groups&quot;:{&quot;mandatory&quot;:{&quot;preselected&quot;:true,&quot;disabled&quot;:true,&quot;trackingObject…" class="modal fade show" tabindex="-1" role="dialog" aria-modal="true" style="display: block;">

Steps to Reproduce

https://dequeuniversity.com/rules/axe/4.9/aria-dialog-name

Versions

T3v12.x

@jonaseberle
Copy link
Member

Hi, thanks for reviewing.
Please be more specific.
You mean aria-title is missing on the dialog modals?
I assume you mean the bootstrap5-modal default theme?

@jonaseberle
Copy link
Member

I added aria-title="Cookie Dialog"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants