WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c186bca

Browse files
committed
fix: small accessibility fix for IATI logos in header and footer
Added ARIA labels to the IATI logo links in the header and footer and null alt text attributes to the img tags to improve accessibility.
1 parent 1acf1cb commit c186bca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/scss/layout/footer/footer.stories.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ export const Footer: Story = {
1414
render: (args) => html`
1515
<footer class="iati-footer">
1616
<div>
17-
<a href="https://iatistandard.org/">
17+
<a href="https://iatistandard.org/" aria-label="Go to IATI homepage">
1818
<img
1919
src="http://styles.iatistandard.org/assets/svg/source/logo-white.svg"
2020
class="iati-footer__logo"
21+
alt=""
2122
/>
2223
</a>
2324
<div class="iati-footer__list">

src/scss/layout/header/header.stories.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ export const Header: Story = {
1212
render: () => html`
1313
<header class="iati-header">
1414
<div>
15-
<a href="https://iatistandard.org/">
15+
<a href="https://iatistandard.org/" aria-label="Go to IATI homepage">
1616
<img
1717
src="http://styles.iatistandard.org/assets/svg/source/logo-colour.svg"
1818
class="iati-header__logo"
19+
alt=""
1920
/>
2021
</a>
2122
</div>

0 commit comments

Comments
 (0)