-
-
Notifications
You must be signed in to change notification settings - Fork 75
[Accessibility] Add missing or change bad media descriptions #660
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ <h1 class="main-title"> | |
| <div class="row justify-content-sm-center"> | ||
| <div class="col-md-8 col-12"> | ||
| <p class="text-center mb-5"> | ||
| <img src="{% static 'img/analysis_new.png' %}" width=120px> | ||
| <img src="{% static 'img/analysis_new.png' %}" width=120px alt=""> | ||
| </p> | ||
| <form method="post" enctype="multipart/form-data" action="{% url 'analysis:upload' %}"> | ||
| <div class="form-group"> | ||
|
|
@@ -58,7 +58,7 @@ <h1 class="main-title"> | |
| </div> | ||
|
|
||
| <div id="loading" class="text-center d-none"> | ||
| <img class="w-200px" src="/static/img/loading.gif" alt=""> | ||
| <img class="w-200px" src="/static/img/loading.gif" alt="{% trans "Animated line of marbles going up and down in waves" %}"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was there any alt text before helping to understand its role? I'm not sure if describing the animation is a good thing for accessibility here?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No there wasn't. I think it describe something is happening to see it's loading. |
||
| <div class="alert alert-light" role="alert"> | ||
| {% trans "The analysis could take a long time, you will be automatically redirected to the report." %} | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,12 +24,12 @@ <h1 id="main-title" class="main-title"> | |
| {% trans analysis.description %} | ||
| </div> | ||
| <p id="completed" class="text-center mt-5 d-none"> | ||
| <img src="{% static 'img/analysis_completed.png' %}" width="120"> | ||
| <img src="{% static 'img/analysis_completed.png' %}" width="120" alt=""> | ||
| </p> | ||
| <p id="report" class="mt-4 d-none"> | ||
| <a href="#" class="btn btn-primary">{% trans "See the report" %}</a> | ||
| </p> | ||
| <img id="snake" class="d-none w-200px" src="/static/img/loading.gif" alt=""> | ||
| <img id="snake" class="d-none w-200px" src="/static/img/loading.gif" alt="{% trans "Animated line of marbles going up and down in waves" %}"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was there any alt text before helping to understand its role? I'm not sure if describing the animation is a good thing for accessibility here?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same. |
||
| <div id="refresh" class="text-muted small"> | ||
| {% trans "Will refresh automatically every 10 seconds." %} | ||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason not to use the same quotes for every attribute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I just don't touche this.