Skip to content

Commit 2ab77d4

Browse files
committed
Last sweep of accessibility compliance
1 parent 020bc83 commit 2ab77d4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

content/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ window.addEventListener('resize', function() {
5151
});
5252

5353
</script>
54-
<iframe id="generator" onload="iframeResize()" src="/codemeta-generator" class="d-inline-block w-100" frameborder="0">
54+
<iframe id="generator" title="CodeMeta Generator" onload="iframeResize()" src="/codemeta-generator" class="d-inline-block w-100" frameborder="0">
5555
If there is no form visible here, you can also access the [CodeMeta Generator](https://codemeta.github.io/codemeta-generator) directly. This may be due to browser security settings.
5656
</iframe>
5757

layouts/shortcodes/rsmd.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<div class="carousel-indicators my-0">
2525
{{ $counter := 0 }}
2626
{{ range .Site.Data.rsmd }}
27-
<button type="button" data-bs-target="#rsmd-carousel" data-bs-slide-to="{{ $counter }}" class="carousel-indicator{{ if eq $counter 0 }} active{{ end }}" aria-current="true" aria-label="Slide {{ $counter }}"></button>
27+
<button id="carousel-slide-{{ $counter }}" type="button" data-bs-target="#rsmd-carousel" data-bs-slide-to="{{ $counter }}" class="carousel-indicator{{ if eq $counter 0 }} active{{ end }}" aria-current="true" aria-label="Slide {{ $counter }}">
28+
<label class="form-check-label visually-hidden" for="carousel-slide-{{ $counter }}">Slide {{ $counter }}</label>
29+
</button>
2830
{{ $counter = add $counter 1 }}
2931
{{ end }}
3032
</div>

themes/CodeMeta-Pyramids/layouts/partials/supporters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="row justify-content-center">
33
{{ range sort .Site.Data.supporters "name" }}
44
<div class="card col-2 m-1 p-3 supporter-card">
5-
<a class="h-100" href="{{ .url }}" target="_blank"><img class="card-img-top" aria-label="Logo of {{ .name }}" src="{{ .logo }}" alt="{{ .name }}"></a>
5+
<a class="h-100" href="{{ .url }}" target="_blank" title="Link for {{ .name }} opens in new tab."><img class="card-img-top" aria-label="Logo for {{ .name }}" src="{{ .logo }}" alt="{{ .name }}"></a>
66
</div>
77
{{ end }}</div>
88

0 commit comments

Comments
 (0)