- Issue created by @kufliievskyi
- 🇩🇪Germany kufliievskyi Germany, Bayern
The same question applies to the gin_toolbar module, but I've found only one header occurrence in it.
Don't want to create one more ticket at the moment, because the task requirements are quite debatable.
So in case someone wants to test both package updates, I've attached 2 simple patches for both gin/gin_toolbar.In order to test them together this code snippet could be used:
{ "patches": { "drupal/gin": { "Improve administrative gin theme heading semantics by replacing h tags with a <div>" : "./patches/gin/3492096-gin-improve-header-hierarchy.patch" }, "drupal/gin_toolbar": { "Improve administrative gin_toolbar heading semantics by replacing h tags with a <div>" : "./patches/git_toolbar/3492096-gin-toolbar-improve-header-hierarchy.patch" } }
I appreciate it if someone with an accessibility background could leave a comment/review it. Thank you in advance for any comments.
I have reviewed the patch and tested it using Screen Reader (Chrome Extention) and the Accessibility Tree. The heading structure appears to be correctly replaced with
elements, maintaining the appropriate aria-level hierarchy. The changes are applied correctly and are accessible by screen readers.Also corrected the 3492096-gin-improve-header-hierarchy.patch div not closing correctly.
Everything looks good from an accessibility standpoint. I approve this change for further testing and review.
I have reviewed the patch and tested it using Screen Reader (Chrome Extention) and the Accessibility Tree. The heading structure appears to be correctly replaced with
elements, maintaining the appropriate aria-level hierarchy. The changes are applied correctly and are accessible by screen readers.Also corrected the 3492096-gin-improve-header-hierarchy.patch div not closing correctly.
Everything looks good from an accessibility standpoint. I approve this change for further testing and review.
- Merge request !549Issue #3492096: Improve Header Hierarchy Accessibility in Drupal websites using the Gin theme → (Open) created by saschaeggi
- 🇨🇭Switzerland saschaeggi Zurich
The MR needs testing, we're not reviewing patches
Thanks!