Add tooltips for accessibility

This commit is contained in:
spikecodes 2021-02-12 20:53:33 -08:00
parent f06320a4ae
commit ff8685ae4c
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@
{% if sub.name.contains("+") %} {% if sub.name.contains("+") %}
<form action="/r/{{ sub.name }}/subscribe/" method="POST"> <form action="/r/{{ sub.name }}/subscribe/" method="POST">
<button id="multisub" class="subscribe">Subscribe to Multireddit</button> <button id="multisub" class="subscribe" title="Subscribe to each sub in this multireddit">Subscribe to Multireddit</button>
</form> </form>
{% endif %} {% endif %}

View file

@ -20,7 +20,7 @@
{% if root != "/r/" && !root.is_empty() %} {% if root != "/r/" && !root.is_empty() %}
<div id="inside"> <div id="inside">
<input type="checkbox" name="restrict_sr" id="restrict_sr"> <input type="checkbox" name="restrict_sr" id="restrict_sr">
<label for="restrict_sr" class="search_label">in {{ root }}</label> <label for="restrict_sr" class="search_label" title="Restrict search to this subreddit">in {{ root }}</label>
</div> </div>
{% endif %} {% endif %}
<button class="submit"> <button class="submit">