Skip to content
Snippets Groups Projects
Verified Commit f5ea401e authored by Owen Graham's avatar Owen Graham
Browse files

Add alt text to images

parent edfd6895
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@ function visualize(imgSrc) {
const visualization = document.getElementById('visualization');
const img = document.createElement('img');
img.src = imgSrc;
img.alt = 'Graph of selected data';
plotDiv.replaceChildren(img);
visualization.hidden = false;
}
......
......@@ -7,8 +7,8 @@
{% block body -%}
<header>
<a id="logo" href="https://amrdcdata.ssec.wisc.edu">
<img src="{{ url_for('static', filename='logo.svg') }}">
<a id="logo" title="AMRDC database" href="https://amrdcdata.ssec.wisc.edu">
<img alt="AMRDC" src="{{ url_for('static', filename='logo.svg') }}">
</a>
<h1 id="title">Data Visualizer</h1>
</header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment