-
Notifications
You must be signed in to change notification settings - Fork 27
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
A11y fixes #23
A11y fixes #23
Conversation
dc6fa8c
to
eb5a02c
Compare
@@ -22,14 +22,14 @@ | |||
{% trans "Add article" %} | |||
</a> | |||
</div> | |||
<div class="pull-right"> | |||
{{ filter_form.query }} | |||
<div class="pull-right input-prepend"> |
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.
Add ?w=1 to suppress whitespace differences (though note that then you won't see comments or be able to create them).
{{ filter_form.query }} | ||
<div class="pull-right input-prepend"> | ||
{{ filter_form.query.label_tag }} {{ filter_form.query }} | ||
{% if filter_query %} |
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.
</td> | ||
</tr> | ||
{% empty%} | ||
{% if directory %} |
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.
Only add the table if there are filter results.
Looks good to me 👍 |
👍 |
dfda08c
to
b7313aa
Compare
wiki/templates/wiki/dir.html
Outdated
<td colspan="100"> | ||
<em>{% trans "There are no articles in this level" %}</em> | ||
</td> | ||
<th>{% trans "Title" %}</th> |
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.
@cahrens can you add scope="col"
to each of these <th>
elements?
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.
Yep, will do so.
TNL-6440, TNL-6439
30694d1
to
906d704
Compare
@cptvitamin I did add scope="col". Going ahead and merging. |
👍 |
@staubina and @jlajoie Please review this PR as a companion to https://github.com/edx/edx-platform/pull/14486.
FYI @cptvitamin