-
-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
Hi, I’m using the Astroid framework and I noticed an accessibility issue with the logo.
Astroid outputs the logo as a link without any accessible name, for example:
<a class="astroid-logo" href="#">
<img src="/logo.png">
</a>Because the image has no alt text and the link has no aria-label, accessibility scanners and screen readers report an error:
“Link has no discernible text / missing accessible name.”
This violates WCAG/BITV guidelines and is a problem especially in Germany, where accessibility compliance is required by law.
Could you please consider adding support for:
- a configurable alt text for the logo image, and/or
- a configurable aria-label for the link
For example:
<a class="astroid-logo" href="#" aria-label="Homepage of My Site">
<img src="/logo.png" alt="My Site Logo">
</a>This would solve the issue and make the logo link fully accessible.
Thank you!
Originally posted by @Maedchengestalter in #1340
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done