Skip to content
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

Merged
merged 1 commit into from
Feb 10, 2017
Merged

A11y fixes #23

merged 1 commit into from
Feb 10, 2017

Conversation

cahrens
Copy link

@cahrens cahrens commented Feb 7, 2017

@staubina and @jlajoie Please review this PR as a companion to https://github.com/edx/edx-platform/pull/14486.

FYI @cptvitamin

@@ -22,14 +22,14 @@
{% trans "Add article" %}
</a>
</div>
<div class="pull-right">
{{ filter_form.query }}
<div class="pull-right input-prepend">
Copy link
Author

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 %}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously "(clear)" was appearing to the left of the input field when it displayed.

image

</td>
</tr>
{% empty%}
{% if directory %}
Copy link
Author

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.

@cahrens cahrens changed the title Try out label. A11y fixes Feb 8, 2017
@jlajoie
Copy link

jlajoie commented Feb 8, 2017

Looks good to me 👍

@staubina
Copy link

staubina commented Feb 8, 2017

👍

@cahrens cahrens force-pushed the christina/a11y branch 2 times, most recently from dfda08c to b7313aa Compare February 9, 2017 03:20
<td colspan="100">
<em>{% trans "There are no articles in this level" %}</em>
</td>
<th>{% trans "Title" %}</th>

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?

Copy link
Author

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
@cahrens
Copy link
Author

cahrens commented Feb 10, 2017

@cptvitamin I did add scope="col". Going ahead and merging.

@cahrens cahrens merged commit 144a816 into edx_release Feb 10, 2017
@cahrens cahrens deleted the christina/a11y branch February 10, 2017 14:36
@cptvitamin
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants