Skip to content

Remove h2 from breadcrumbs

What does this MR do and why?

This MR removes the <h2>s from the page title breadcrumb (last one, bold) because they are HTML-semantically incorrect and could cause problems with apps like screen readers.

Relates to #346484 (closed)

Screenshots or screen recordings

No visual changes intended.

Before After
image image

How to set up and validate locally

All default breadcrumbs are updated, as an example:

  1. Go to a project
  2. Go to Issues
  3. Open the DevTools
  4. Use “pick element” to find the Issues breadcrumb
  5. See that is no longer encapsulated in an <h2>

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kev

Merge request reports

Loading