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
<aside>-tag in a template causes conflict in testing-tool for accessibility #68
Comments
|
Idee Modul ID, ist aber noch nicht überall vorhanden in den Methoden. |
In Version 1.3.3 eingebaut. |
Nächster Versuch, title kommt nun mit. Noch als master, demnächst kommt neue Version. |
in Version 1.3.4 eingebaut. |
Wahrscheinlich reicht es aus, das aside-tag einfach durch ein div-tag im template zu ersetzen. s.a die letzten beiden posts in unserem thread: https://community.contao.org/de/showthread.php?82699-Test-auf-Barrierefreiheit-zeigt-jede-Menge-Fehler&p=559427#post559427 |
Hallo Bugbuster, ich habe mir heute noch einmal einen kostenpflichtigen Testzeitraum mit der Pro-Version des RocketValidators gegönnt und meine Seite noch einmal auf Barrierefreiheit getestet. Leider erscheint die Fehlermeldung zum "aside"-Tag immer noch. Sei doch so gut, und ersetzte mal das "aside" durch ein "div", und teste dann, ob alle Funktionalitäten deiner Templates weiterhin laufen. Vielen Dank und herzliche Grüße, grashalm4u |
Hello Bugbuster,
I am currently using Contao 4.13.1 with PHP 8.0.16., and I have integrated your extension for banner graphics in my footer at https://die-schreibmaus.de
I've checked my site for accessibility several times over the past few days using the Rocket Validator tool https://rocketvalidator.com. Among other things, I get the following error message, which is related to the banner module:
"Aside should not be contained in another landmark".
After some research I found out that (at least) the template I use "mod_banner_list_all.html5" has this "aside" tag included at the beginning and at the end. According to the Rocket Validator error message, "aside" must stand on its own and not be embedded in other landmarks.
Since your banner module is integrated in my footer, I almost always have the footer landmark as the upper level, so I can hardly use "aside" here. I just replaced the "aside" tag with the "section" tag and found that the error no longer appears. Being a complete layman, I don't know if using "section" is appropriate and correct. Perhaps there is a better tag for it. But the error message is gone now.
Maybe you can check if it makes sense to replace the "aside" tag in the banner module templates with another tag that doesn't raise this conflict when testing the site for accessibility.
Greetings, grashalm
The text was updated successfully, but these errors were encountered: