Bug Report
Problematic behavior
A page must be properly structured with level 1, 2, and 3 headings…
Expected behavior/code
The product title should be a level 1 heading "Fichiers".
Transform the
element, integrate the product logo image without forgetting to add an empty text alternative since the text will be read by assistive technologies but will be visually hidden by the .sr-only
Possible Solution
Before : <div class="drive__header__logo"></div>
After : <h1><img src="xxxxx" alt="" aria-hidden="true" /> <span class="sr-only">Fichiers</span></h1>
Information structure is important for several reasons
- Keyboard navigation: content can be read sequentially (title, subtitles, etc.). When content is well structured, users can create a "mental map" of the page.
- Visually structure the content (understand headings, lists, sections, etc.)
- A logical structure also allows for a consistent tab order, making it easy to activate interactive components (buttons, links)
Bug Report
Problematic behavior
A page must be properly structured with level 1, 2, and 3 headings…
Expected behavior/code
The product title should be a level 1 heading "Fichiers".
Transform the
Possible Solution
Before :
<div class="drive__header__logo"></div>After :
<h1><img src="xxxxx" alt="" aria-hidden="true" /> <span class="sr-only">Fichiers</span></h1>Information structure is important for several reasons