Fix illogical heading order for a single proposal#8877
Fix illogical heading order for a single proposal#8877andreslucena merged 2 commits intodecidim:developfrom
Conversation
|
The broken accessibility test for the single proposal page should be fixed after #8876 is merged. |
|
I just noticed that the process subtitle is marked as But it is illogical in the overall context because e.g. on this page the debate title is marked as |
This is what I see with the WAVE structure feature: I agree that the resource title (in this case, the proposal title) should be a The current |
|
@andreslucena See also: These issues (and the related discussion) are closely related. |
Yes, I was just arriving there, I'll leave the feedback at the discussion. Thanks for taking care of this issue! |
|
Actually it seems that if we want to keep the build green, we first need to merge the comments heading order change at #8876. I'll go ahead and mark that ready for review. |
|
FYI #8876 is already merged |
|
@andreslucena I just merged with the latest changes in the develop and CI is now green. This is ready to be merged. #8901 also requires this to be merged first. |
Merged! Can you please backport to v0.26-stable 🙏🏽? Thanks |
|
Backport at #8950. |

🎩 What? Why?
The proposal's title is in illogical order in context to the page title
<h1>. According to the current layout, the logical order should be a<h2>in context to the previous headings on the page.The problem can be seen e.g. on this page where the heading jumps from h1 -> h3:
https://meta.decidim.org/processes/roadmap/f/122/proposals/16935
Many screen reader users users glance the page quickly by going through its headings in which case this can be confusing.
WCAG 2.2 / 1.3.1 Info and Relationships (Level A)
https://www.w3.org/TR/WCAG22/#info-and-relationships
https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html
📌 Related Issues
<p>to fix heading order issues #8901Testing
Give the linked blog page to a visually impaired user and ask them to read it.
📋 Checklist
docs/.