Skip to content

Commit 63de96f

Browse files
committed
refactor: 2 improvements across 2 files
- UI/UX: Missing focus indicators on custom interactive elements - UI/UX: Missing skip-to-content link for keyboard navigation Signed-off-by: tomaioo <203048277+tomaioo@users.noreply.github.com>
1 parent 7190514 commit 63de96f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • themes/arm-design-system-hugo-theme/layouts/_default

themes/arm-design-system-hugo-theme/layouts/_default/baseof.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
{{ end }}
1616
</head>
1717
<body>
18+
<a href="#main" class="skip-link">Skip to main content</a>
19+
1820
{{partial "header/nav-masthead.html" .}}
1921

2022
{{/* Where all content sits. Each layout file defines "main" which then sits here. */}}
21-
<div id="all-content-div" class="c-container is-responsive-width" style="min-height: 250px;">
23+
<div id="main" class="c-container is-responsive-width" style="min-height: 250px;">
2224
<div id="all-content-div-margined" class="u-margin-left-0 u-margin-right-0">
2325
{{block "main" . }}{{end}}
2426
</div>

0 commit comments

Comments
 (0)