Skip to content

Incorrect heading hierarchy in the share modal #1999

@cyberbaloo

Description

@cyberbaloo

Bug Report

Problematic behavior
The heading structure is not consistent. While there is a level 1 heading Share the document, the following headings are not structured as they should be.

Expected behavior/code
For the hierarchy to be consistent and logical, the following headings should be structured as level 2 headings h2:

Partagé entre X utilisateurs

Paramètres du lien

Don't forget to remove the aria-hidden="true" attribute present on the div containing "Shared with X users" so that the level 2 heading can be rendered after correction.

Additional context/Screenshots

Image

Critères RGAA

Critère 9.1 : Dans chaque page web, l'information est-elle structurée par l'utilisation appropriée de titres ?

Impact
A blind user navigating by headings will only have access to the first heading of the modal. They will not be able to jump directly to the list of authorized people or the link settings. They will have to browse through all the content before reaching the information they want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions