Skip to content

Fix/1136 heading order #1251

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Fix/1136 heading order #1251

wants to merge 2 commits into from

Conversation

Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Jul 31, 2025

Purpose

This PR introduces a heading accessibility filter in the slash menu to progressively limit heading levels (H1 → H2 → H3) in the document editor. It also adds an end-to-end test to validate the filtering logic.

that solve issue : 1136

Proposal

Write E2E test to ensure correct progressive filtering behavior (Playwright)

@Ovgodd Ovgodd requested a review from AntoLC July 31, 2025 15:32
@Ovgodd Ovgodd self-assigned this Jul 31, 2025
@Ovgodd Ovgodd force-pushed the fix/1136-heading-order branch from 090396e to 3005a8b Compare July 31, 2025 15:46
enforces contiguous heading levels to ensure accessibility compliance

Signed-off-by: Cyril <[email protected]>
@Ovgodd Ovgodd force-pushed the fix/1136-heading-order branch from 3005a8b to 407de29 Compare July 31, 2025 15:47
adds an end to end test to verify progressive heading suggestions

Signed-off-by: Cyril <[email protected]>
@Ovgodd Ovgodd force-pushed the fix/1136-heading-order branch from 407de29 to 012b06f Compare July 31, 2025 15:49
Copy link
Collaborator

@AntoLC AntoLC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait a bit with this PR to be sure about the behavior that we want to implement.
We need to validate altogether with @rl-83 and @virgile-dev.

@Ovgodd
Copy link
Collaborator Author

Ovgodd commented Aug 6, 2025

Let's wait a bit with this PR to be sure about the behavior that we want to implement. We need to validate altogether with @rl-83 and @virgile-dev.

I’ve set this PR to draft in the meantime

@Ovgodd Ovgodd marked this pull request as draft August 6, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants