umbraco / Umbraco-CMS.Accessibility.Issues

6 stars 1 forks source link

Content - Missing H1 tag #42

Closed umbrabot closed 1 year ago

umbrabot commented 2 years ago

Steps to replicate:

  1. Access content section
  2. View heading structure (no H1 tag present)

Issue: Missing first level heading: Recommend to have one heading one per page that describes the page contents

Why it matters: Headings facilitate page navigation for users of many assistive technologies. They also provide semantic and visual meaning and structure to the document. A first level heading (h1 tag) should be present on nearly all pages. It should contain the most important heading on the page (generally the document title).

How to fix: If the page presents a main heading, place it within an h1 element. Add other sub-headings as necessary.

W3 reference: https://www.w3.org/WAI/WCAG21/Understanding/headings-and-labels.html Note: this is not a direct violation of the WCAG but should be addressed for accessibility

tiffy74 commented 2 years ago

Similar to #44 so makes sense to look at this too

tiffy74 commented 2 years ago

Have submitted a PR for this for review :)

Fixed Missing H1 Tag