Daily Accessibility ReviewMultiple H1 Headings on Home Page #17810
Unanswered
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
The Rancher Dashboard home page (
/dashboard/home) renders two<h1>elements simultaneously:This was confirmed both via live Playwright snapshot (showing
heading "Welcome to Rancher" [level=1]andheading "Clusters" [level=1]) and in the source code.WCAG 2.2 Reference
WCAG 2.2 § 1.3.1 – Info and Relationships (Level A)
A page document outline should use exactly one
<h1>to label the page's primary topic, with subordinate content using<h2>,<h3>, etc. Multiple<h1>elements break the logical document outline, making it harder for screen reader users to understand the page structure and navigate by headings.WCAG 2.2 § 2.4.6 – Headings and Labels (Level AA)
When two headings share the same level but describe unrelated content sections ("Welcome to Rancher" and "Clusters"), the heading hierarchy fails to accurately convey the structure of the page.
Affected Code
shell/pages/home.vue– line 488:(inside the cluster table
#header-leftslot)shell/pages/home.vue– line 644:(second cluster table variant for paginated view)
The "Welcome to Rancher"
<h1>is rendered by the home page banner, resulting in two<h1>elements on the same page.Suggested Fix
Change the "Clusters" section heading from
<h1>to<h2>in both occurrences inshell/pages/home.vue:Beta Was this translation helpful? Give feedback.
All reactions