Skip to content

Commit

Permalink
remove Material IconA11y comments #4215
Browse files Browse the repository at this point in the history
  • Loading branch information
StephDriver committed Dec 19, 2024
1 parent 4ba6b43 commit f3e8e13
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<form method="get" action="/search">
{% endif %}
<div class="input-field col l12">
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-search"></i>
<input id="article_search" type="text" class="validate" name="article_search">
<label for="article_search">Search</label>
Expand Down
5 changes: 0 additions & 5 deletions src/themes/material/templates/core/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
href="#!"
data-target="{{ item.link_name|slugify }}">
{{ item.link_name }}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -70,7 +69,6 @@
href="#!"
data-target="account">
{% trans "Account" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand Down Expand Up @@ -111,7 +109,6 @@
href="#!"
data-target="{{ item.link_name|slugify }}-mobile">
{{ item.link_name }}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -127,7 +124,6 @@
href="#!"
data-target="dropdown1">
{% trans "Account" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -140,7 +136,6 @@
href="#!"
data-target="nav-mobile"
class="sidenav-trigger">
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-bars" ></i>
<span class="sr-only">{% trans 'Open navigation menu' %}</span>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-xmark" ></i>
<span class="sr-only">{% trans 'Close.' %}</span>
<span class="grey-text text-darken-4">{{ issue.issue_title }}</span>
Expand Down
1 change: 0 additions & 1 deletion src/themes/material/templates/elements/nav_element.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
href="#!"
data-target="sub_nav_content">
{{ item.link_name }}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand Down
2 changes: 0 additions & 2 deletions src/themes/material/templates/elements/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
{% with page_number=page_obj.previous_page_number %}
<a
onclick="changePage(form_id='{{ facet_form.id }}', page_number='{{ page_number }}')">
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-chevron-left" ></i>
<span class="sr-only">{% trans 'Previous page.' %}</span>
</a>
Expand Down Expand Up @@ -42,7 +41,6 @@
{% with page_number=page_obj.next_page_number %}
<a
onclick="changePage(form_id='{{ facet_form.id }}', page_number='{{ page_number }}')">
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-chevron-right" ></i>
<span class="sr-only">{% trans 'Next page.' %}</span>
</a>
Expand Down
6 changes: 0 additions & 6 deletions src/themes/material/templates/elements/sections_display.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
<td>
<strong>
{% if section.public_submissions %}
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-check"></i>
<span class="sr-only">{% trans 'has public submissions' %}</span>
{% else %}
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-times"></i>
<span class="sr-only">{% trans 'does not have public submissions' %}</span>
{% endif %}
Expand All @@ -26,11 +24,9 @@
<td>
<strong>
{% if section.number_of_reviewers > 0 %}
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-check"></i>
<span class="sr-only">{% trans 'is peer reviewed' %}</span>
{% else %}
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-times"></i>
<span class="sr-only">{% trans 'is not peer reviewed' %}</span>
{% endif %}
Expand All @@ -39,11 +35,9 @@
<td>
<strong>
{% if section.indexing %}
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-check"></i>
<span class="sr-only">{% trans 'is indexed' %}</span>
{% else %}
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-times"></i>
<span class="sr-only">{% trans 'is not indexed' %}</span>
{% endif %}
Expand Down
2 changes: 0 additions & 2 deletions src/themes/material/templates/journal/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ <h2>{% trans "Downloads" %}</h2>
</p>
{% if proofing %}
<p id="note_to_proofreader_1">
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-circle-info" ></i>
Note to proofreader: Download links on this page begin to work when the article is published.
</p>
Expand Down Expand Up @@ -306,7 +305,6 @@ <h4>
</ul>
{% if proofing %}
<p id="note_to_proofreader_2">
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-circle-info" ></i>
Note to proofreader: Download links on this page begin to work when the article is published.
</p>
Expand Down
1 change: 0 additions & 1 deletion src/themes/material/templates/preprints/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ <h4>{% trans "All Preprints" %}</h4>
<div class="form-group">

<div class="input-field">
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-search prefix" ></i>
<input id="icon_prefix" type="text" class="validate" {% if search_term %}value="{{ search_term }}"{% endif %} name="search_term">
<label for="icon_prefix" class="">{% trans "Search Preprints" %}</label>
Expand Down
7 changes: 0 additions & 7 deletions src/themes/material/templates/press/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
href="#!"
data-target="{{ item.link_name|slugify }}">
{{ item.link_name }}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -45,7 +44,6 @@
href="#!"
data-target="preprints">
{% trans "Repositories" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -61,7 +59,6 @@
href="#!"
data-target="account">
{% trans "Account" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -81,7 +78,6 @@
href="#!"
data-target="{{ item.link_name|slugify }}-mobile">
{{ item.link_name }}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -99,7 +95,6 @@
href="#!"
data-target="preprints-mobile">
{% trans "Repositories" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -112,7 +107,6 @@
href="#!"
data-target="dropdown1">
{% trans "Account" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -125,7 +119,6 @@
href="#!"
data-target="nav-mobile"
class="sidenav-trigger">
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-bars" ></i>
<span class="sr-only">{% trans 'Open navigation menu' %}</span>
</a>
Expand Down
1 change: 0 additions & 1 deletion src/themes/material/templates/repository/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ <h1 class="center">{{ request.repository.name }}</h1>
<form method="POST" action="{% url 'repository_search' %}">
{% csrf_token %}

{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-search prefix" ></i>
<input id="icon_prefix" type="text" class="validate" name="search_term">
<label for="icon_prefix">Search {{ request.repository.object_name_plural }}</label>
Expand Down
1 change: 0 additions & 1 deletion src/themes/material/templates/repository/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ <h1>{{ request.repository.object_name_plural }}</h1>
<div class="form-group">

<div class="input-field">
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-search prefix" ></i>
<input id="icon_prefix" type="text" class="validate"
{% if search_term %}value="{{ search_term }}"{% endif %} name="search_term">
Expand Down
3 changes: 0 additions & 3 deletions src/themes/material/templates/repository/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
href="#!"
data-target="account">
Account
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -53,7 +52,6 @@
href="#!"
data-target="dropdown1">
{% trans "Account" %}
{# IconA11y exMaterial Decorative #}
<i aria-hidden="true" class="fa fa-caret-down right" ></i>
</a>
</li>
Expand All @@ -66,7 +64,6 @@
href="#!"
data-target="nav-mobile"
class="sidenav-trigger">
{# IconA11y exMaterial Semantic #}
<i aria-hidden="true" class="fa fa-bars" ></i>
<span class="sr-only">{% trans 'Open navigation menu' %}</span>
</a>
Expand Down

0 comments on commit f3e8e13

Please sign in to comment.