Skip to content

Commit 80f3d85

Browse files
authored
Merge pull request #1175 from ParzivalPavlis/feat/accessibility-updates
2 parents ebe00fd + 9b58dbc commit 80f3d85

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

docs/assets/icons/ai.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/assets/icons/external-link.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/assets/scss/typography.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ body {
4141
margin-top: 2em;
4242
margin-bottom: 1em;
4343

44-
&[id]:before {
45-
@include mq(large) {
46-
height: 179px;
47-
margin-top: -179px;
48-
}
44+
&[id] {
45+
scroll-margin-top: 179px;
46+
}
47+
48+
&[id]::before {
49+
display: none;
4950
}
5051

5152
a {

docs/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.20
44

55
require (
66
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect
7-
github.com/gooddata/gooddata-docs-theme v0.0.0-20250924092250-449ef78afca9 // indirect
7+
github.com/gooddata/gooddata-docs-theme v0.0.0-20251008131043-19f8c818ea1e // indirect
88
github.com/google/docsy v0.7.1 // indirect
99
github.com/google/docsy/dependencies v0.7.1 // indirect
1010
github.com/twbs/bootstrap v5.3.1+incompatible // indirect

docs/go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ github.com/gooddata/gooddata-docs-theme v0.0.0-20250923125026-872d754a05c7 h1:nv
4040
github.com/gooddata/gooddata-docs-theme v0.0.0-20250923125026-872d754a05c7/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
4141
github.com/gooddata/gooddata-docs-theme v0.0.0-20250924092250-449ef78afca9 h1:RmQs22XW4f4rxSdOgVBKVP8t08+UoIeShLQtP8+y3yE=
4242
github.com/gooddata/gooddata-docs-theme v0.0.0-20250924092250-449ef78afca9/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
43+
github.com/gooddata/gooddata-docs-theme v0.0.0-20251007133000-356776424f96 h1:gNmenFnHk7134eUocXFN7/rRtkelyIzuoKdc4GNjV+M=
44+
github.com/gooddata/gooddata-docs-theme v0.0.0-20251007133000-356776424f96/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
45+
github.com/gooddata/gooddata-docs-theme v0.0.0-20251008131043-19f8c818ea1e h1:+QitAaL+87DjFpsjQaMLBNq6zcbLVrUASCc4hBtBMX8=
46+
github.com/gooddata/gooddata-docs-theme v0.0.0-20251008131043-19f8c818ea1e/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
4347
github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY=
4448
github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc=
4549
github.com/google/docsy/dependencies v0.7.1 h1:NbzYKJYMin2q50xdWSUzR2c9gCp7zR/XHDBcxklEcTQ=

docs/layouts/partials/prev-next-pages.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{ else }}
1717
{{ if $currentPage.NextInSection }}
1818
{{ with $currentPage.NextInSection }}
19-
<a href="{{ .RelPermalink }}" class="gd-docs-prev-next-pages__link gd-docs-prev-next-pages__prev">
19+
<a href="{{ .RelPermalink }}" class="gd-docs-prev-next-pages__link gd-docs-prev-next-pages__prev" aria-label="{{ .LinkTitle }} (Prev article)">
2020
<span class="gd-docs-prev-next-pages__chevron">{{ with resources.Get "icons/chevron.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}</span>
2121
{{ .LinkTitle }}
2222
</a>
@@ -32,15 +32,15 @@
3232

3333
{{ if $currentPage.IsSection }}
3434
{{ with index $currentPage.Pages.ByWeight 0 }}
35-
<a href="{{ .RelPermalink }}" class="gd-docs-prev-next-pages__link gd-docs-prev-next-pages__next">
35+
<a href="{{ .RelPermalink }}" class="gd-docs-prev-next-pages__link gd-docs-prev-next-pages__next" aria-label="{{ .LinkTitle }} (Next article)">
3636
<span class="gd-docs-prev-next-pages__chevron">{{ with resources.Get "icons/chevron.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}</span>
3737
{{ .LinkTitle }}
3838
</a>
3939
{{ end }}
4040
{{ else }}
4141
{{ if $currentPage.PrevInSection }}
4242
{{ with $currentPage.PrevInSection }}
43-
<a href="{{ $currentPage.PrevInSection.RelPermalink }}" class="gd-docs-prev-next-pages__link gd-docs-prev-next-pages__next">
43+
<a href="{{ $currentPage.PrevInSection.RelPermalink }}" class="gd-docs-prev-next-pages__link gd-docs-prev-next-pages__next" aria-label="{{ .LinkTitle }} (Next article)">
4444
<span class="gd-docs-prev-next-pages__chevron">{{ with resources.Get "icons/chevron.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}</span>
4545
{{ $currentPage.PrevInSection.LinkTitle }}
4646
</a>

0 commit comments

Comments
 (0)