-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make logo Accessible (or at least aria-hidden="true"
)
#26
Comments
Re:
What happens if we rename |
Ah! It was a good guess but no dice: (.venv) [kousu@requiem neuropoly-docs]$ git diff --staged
diff --git a/_static/logo.png b/_static/neuropoly-lab-logo.png
similarity index 100%
rename from _static/logo.png
rename to _static/neuropoly-lab-logo.png
diff --git a/conf.py b/conf.py
index 88927eb..44282cd 100644
--- a/conf.py
+++ b/conf.py
@@ -58,7 +58,7 @@ html_static_path = ['_static']
html_css_files = ["theme.css"]
html_title = "NeuroPoly Lab"
-html_logo = "_static/logo.png"
+html_logo = "_static/neuropoly-lab-logo.png"
html_favicon = "_static/logo.png"
html_sourcelink_suffix = ".md" # our sources are in markdown; but this only has an effect if "use_download_button": True produced the same alt text: <img src="../_static/neuropoly-lab-logo.png" class="logo" alt="logo"> This is hard-coded in we could add a Another approach: |
Out of curiosity I checked out if
I haven't tested this but I bet VoiceOver would read out all of that on every page and I bet the rest of that theme -- neither theme -- isn't accessible either. |
If we use #21, we should eventually address
Originally posted by @kousu in #21 (comment)
The text was updated successfully, but these errors were encountered: