Steps to reproduce the issue
- Open any dialog (e.g. during the installation changing the language or the batch modal in com_content backend)
- Inspect the dialog/headline with your browser developer tool
Expected result
- Dialog has
aria-labelledby="xxx" pointing to the headline of the dialog
Actual result
- No pointers to the headline
Additional comments
Issue was mentioned by @exlemor and confirmed by @brianteeman in this PR, so probably you have an idea how to solve this?
Current status is: Dialogs are generated in this file as web component. Specific in line 188 the dialog element is created. I think the attributes has to be added when there is a header in line 206.
Now here is the challenge: the headline needs an ID, which is not that easy, especially if there are more than one dialog at the page. Do we need to remember how many times a dialog is created?
Any idea?
//cc @Fedik as you know the dialog I guess :-)
Steps to reproduce the issue
Expected result
aria-labelledby="xxx"pointing to the headline of the dialogActual result
Additional comments
Issue was mentioned by @exlemor and confirmed by @brianteeman in this PR, so probably you have an idea how to solve this?
Current status is: Dialogs are generated in this file as web component. Specific in line 188 the dialog element is created. I think the attributes has to be added when there is a header in line 206.
Now here is the challenge: the headline needs an ID, which is not that easy, especially if there are more than one dialog at the page. Do we need to remember how many times a dialog is created?
Any idea?
//cc @Fedik as you know the dialog I guess :-)