-
Notifications
You must be signed in to change notification settings - Fork 564
Labels
Description
Bug Report
Problematic behavior
The HTML export generates an empty <h2> before each section heading
<h2></h2>
<h2 class="bn-inline-content">Commandes pour Windows</h2>
Expected behavior/code
A single <h2> per section heading, without parasitic empty element
<h2 class="bn-inline-content">Commandes pour Windows</h2>
Steps to Reproduce
- Open a Docs document containing level 2 headings
- Export the document to HTML format
- Inspect the source code — an empty
<h2>precedes each section heading
Possible Solution
Fix the HTML export generation to not emit an empty <h2> before the actual heading
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 hears an empty heading before each section title. This disrupts navigation and creates a false entry in the document structure.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status
Status
In review